Simplify asynchronous tasks

This commit is contained in:
topjohnwu
2018-08-02 00:41:10 +08:00
parent 075737a4ec
commit 9ac71ff8af
19 changed files with 325 additions and 385 deletions

View File

@@ -6,7 +6,6 @@ import android.content.res.Configuration;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import com.topjohnwu.magisk.container.Module;
import com.topjohnwu.magisk.database.MagiskDatabaseHelper;
import com.topjohnwu.magisk.database.RepoDatabaseHelper;
import com.topjohnwu.magisk.utils.LocaleManager;
@@ -15,16 +14,12 @@ import com.topjohnwu.superuser.ContainerApp;
import com.topjohnwu.superuser.Shell;
import java.lang.ref.WeakReference;
import java.util.Map;
public class MagiskManager extends ContainerApp {
// Info
public boolean hasInit = false;
// Data
public Map<String, Module> moduleMap;
// Global resources
public SharedPreferences prefs;
public MagiskDatabaseHelper mDB;