Skip to content

Commit 697b390

Browse files
committed
[AppOps] Fix setting app ops in custom ROMs with MIUI properties injected
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
1 parent 33af787 commit 697b390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/io/github/muntashirakon/AppManager/compat/AppOpsManagerCompat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public class AppOpsManagerCompat {
208208
public static boolean isMiuiOp(int op) {
209209
try {
210210
return MiuiUtils.isMiui() && op > AppOpsManagerHidden.MIUI_OP_START;
211-
} catch (Exception e) {
211+
} catch (Throwable e) {
212212
return false;
213213
}
214214
}

0 commit comments

Comments
 (0)