checkOperation

fun checkOperation(operation: String): Boolean

Checks if the given app operation is allowed.

An app operation is one of the [AppOpsManager].OP_* constants.

Return

true when the operation is allowed.