mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-13 21:36:58 -08:00
Implement logging and bug fixes
This commit is contained in:
@@ -46,6 +46,8 @@ public class Global {
|
||||
public static boolean isDarkTheme;
|
||||
public static boolean shellLogging;
|
||||
public static boolean devLogging;
|
||||
public static int suRequestTimeout = 10;
|
||||
public static int suLogTimeout = 14;
|
||||
|
||||
}
|
||||
|
||||
@@ -59,7 +61,7 @@ public class Global {
|
||||
|
||||
static void updateMagiskInfo() {
|
||||
List<String> ret = Shell.sh("getprop magisk.version");
|
||||
if (Utils.isValidShellResponse(ret)) {
|
||||
if (!Utils.isValidShellResponse(ret)) {
|
||||
Info.magiskVersion = -1;
|
||||
} else {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user