Debug info: fixed crash

This commit is contained in:
M66B 2023-08-30 12:30:22 +02:00
parent 32b25dc835
commit a7bddc9a98
1 changed files with 2 additions and 2 deletions

View File

@ -1618,7 +1618,7 @@ public class Helper {
}
}
static Boolean getMIUIAutostart(Context context) {
static boolean getMIUIAutostart(Context context) {
try {
Class<?> c = Class.forName("android.miui.AppOpsUtils");
Method m = c.getDeclaredMethod("getApplicationAutoStart", Context.class, String.class);
@ -1627,7 +1627,7 @@ public class Helper {
return (result != null && result.equals(0));
} catch (Throwable ex) {
Log.w(ex);
return null;
return false;
}
}