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.

An alternative to this block that doesn’t require a rooted device is to use the ADB shell command block to execute: appops set <package> <operation> <allow|deny|ignore|default>, operation shouldn’t include android: prefix.

Caution! This feature is hidden prior to Android 6, there’s no official way to change it in system settings or otherwise on lower versions.

Note! This feature isn’t officially supported, a rooted Android 4.3+ device is required, may not work on all devices.

Input arguments