In AppOpsManager.noteOp, it said SecurityException will be thrown
if the app has been configured to crash on this op
I can't find any information about how to do that. Is it something app developer can configure in the source code?
In AppOpsManager.noteOp, it said SecurityException will be thrown
if the app has been configured to crash on this op
I can't find any information about how to do that. Is it something app developer can configure in the source code?
Copyright © 2021 Jogjafile Inc.
My bad. It's already explained in the document of AppOpsManager
To set MODE_ERRORED, you can use adb shell command:
cmd appops set <package> <OP> deny