You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Use Intent rather than global variable
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user