Commit e6e04cc5 authored by topjohnwu's avatar topjohnwu

Add reference ASAP

parent 12352510
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment