Skip to content

Commit ca1cd82

Browse files
committed
Fix bug.
1 parent e35dc1e commit ca1cd82

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
/build
88
/captures
99
.externalNativeBuild
10+
.idea/

Kill.apk

-919 Bytes
Binary file not shown.

sample/src/main/java/com/xdandroid/sample/misc/RevokeActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ protected void onCreate(Bundle savedInstanceState) {
5151
.forEach(op -> {
5252
try { setUidModeMethod.invoke(aom, op, uid, AppOpsManager.MODE_IGNORED); } catch (Exception e) { e.printStackTrace(); }
5353
});
54-
try { setModeMethod.invoke(aom, 23, uid, n, AppOpsManager.MODE_IGNORED); } catch (Exception e) { e.printStackTrace(); }
55-
try { setModeMethod.invoke(aom, 24, uid, n, AppOpsManager.MODE_IGNORED); } catch (Exception e) { e.printStackTrace(); }
5654
}
55+
try { setModeMethod.invoke(aom, 23, uid, n, AppOpsManager.MODE_IGNORED); } catch (Exception e) { e.printStackTrace(); }
56+
try { setModeMethod.invoke(aom, 24, uid, n, AppOpsManager.MODE_IGNORED); } catch (Exception e) { e.printStackTrace(); }
5757
});
5858
} catch (Exception e) { e.printStackTrace(); }
5959
}).start();

0 commit comments

Comments
 (0)