Small tweaks

This commit is contained in:
topjohnwu 2019-01-21 16:12:05 -05:00
parent 6094bc9210
commit 33215424d8

View File

@ -21,7 +21,7 @@ public class Config {
// Current status // Current status
public static String magiskVersionString; public static String magiskVersionString;
public static int magiskVersionCode = -1; public static int magiskVersionCode = -1;
public static boolean magiskHide; private static boolean magiskHide;
// Update Info // Update Info
public static String remoteMagiskVersionString; public static String remoteMagiskVersionString;
@ -203,6 +203,8 @@ public class Config {
e.printStackTrace(); e.printStackTrace();
} }
editor.remove(Key.ETAG_KEY); editor.remove(Key.ETAG_KEY);
editor.apply();
editor = pref.edit();
config.delete(); config.delete();
} }