Created
September 20, 2016 05:58
-
-
Save codexss/bc39918bc56818f2786dbe03b0419fd9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell appops set com.tencent.mm OP_READ_PHONE_STATE ignore | |
adb shell appops set com.tencent.mm COARSE_LOCATION ignore | |
adb shell appops set com.tencent.mm FINE_LOCATION ignore | |
adb shell appops set com.tencent.mm RUN_IN_BACKGROUND ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some additional permission to ignore (maybe Android O only?)
Note when you run
adb shell appops get com.tencent.mm
, you may still see the permission asallow
, but I can confirm on my phone that once I ignoreMONITOR_LOCATION
andMONITOR_HIGH_POWER_LOCATION
, you see the permissionallow
but haverejectTime=+xxs ago
, a proof that it actually works.