AppOp mode set
An action block that sets the mode for an “application operation” (run-time permission) for an app.
The fiber will proceed immediately without pause.
Use with caution! This is a hidden feature until Android 6 where there’s no official way to change it in system settings or otherwise.
Note! This feature require a rooted Android 4.3+ device and isn’t officially supported, may not work on all devices.
- Package — package name of the app.
- Operation — operation to set.
- Mode — mode of operation to set, default is Default for Android 5+, Errored otherwise.