Use Intent rather than global variable

This commit is contained in:
topjohnwu
2019-02-02 04:22:25 -05:00
parent 6bbe0f07d4
commit 9fbe5895b7
4 changed files with 3 additions and 4 deletions
@@ -20,7 +20,6 @@ import java.util.concurrent.ThreadPoolExecutor;
public class App extends ContainerApp {
public static App self;
public boolean init = false;
public static ThreadPoolExecutor THREAD_POOL;
// Global resources
@@ -84,6 +84,7 @@ public class Const {
public static final String LINK_KEY = "Link";
public static final String IF_NONE_MATCH = "If-None-Match";
// intents
public static final String FROM_SPLASH = "splash";
public static final String OPEN_SECTION = "section";
public static final String INTENT_SET_NAME = "filename";
public static final String INTENT_SET_LINK = "link";