AppOpsUtil

class AppOpsUtil(context: Context)

Utility class to check whether app operations (app ops) are allowed.

Constructors

Link copied to clipboard
fun AppOpsUtil(context: Context)

Functions

Link copied to clipboard
fun checkOperation(operation: String): Boolean

Checks if the given app operation is allowed.