mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-13 13:28:24 -08:00
Minor cleanup in check updates
This commit is contained in:
@@ -117,7 +117,6 @@ public class MagiskManager extends Application {
|
||||
shellLogging = false;
|
||||
}
|
||||
magiskHide = prefs.getBoolean("magiskhide", true);
|
||||
updateNotification = prefs.getBoolean("notification", true);
|
||||
initSU();
|
||||
updateMagiskInfo();
|
||||
updateBlockInfo();
|
||||
@@ -183,6 +182,7 @@ public class MagiskManager extends Application {
|
||||
}
|
||||
|
||||
public void updateMagiskInfo() {
|
||||
updateNotification = prefs.getBoolean("notification", true);
|
||||
List<String> ret;
|
||||
ret = shell.sh("magisk -v");
|
||||
if (!Utils.isValidShellResponse(ret)) {
|
||||
|
||||
Reference in New Issue
Block a user