mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 10:35:26 +00:00
Add reference ASAP
This commit is contained in:
parent
12352510fd
commit
e6e04cc5b3
@ -114,6 +114,10 @@ public class MagiskManager extends Application {
|
||||
private static Handler mHandler = new Handler();
|
||||
private boolean started = false;
|
||||
|
||||
public MagiskManager() {
|
||||
weakSelf = new WeakReference<>(this);
|
||||
}
|
||||
|
||||
private class LoadLocale extends ParallelTask<Void, Void, Void> {
|
||||
|
||||
@Override
|
||||
@ -140,7 +144,6 @@ public class MagiskManager extends Application {
|
||||
suDB = new SuDatabaseHelper(Utils.getEncContext());
|
||||
}
|
||||
|
||||
weakSelf = new WeakReference<>(this);
|
||||
repoDB = new RepoDatabaseHelper(this);
|
||||
defaultLocale = Locale.getDefault();
|
||||
setLocale();
|
||||
|
Loading…
Reference in New Issue
Block a user