Permissions & Security Android 4.3+ Risk: READ_ONLY

Get AppOps Status for Package

Queries active AppOps operation states and access timestamps for an application.

Command Syntax

adb shell appops get
Generic Syntax: appops get [--user <USER_ID>] <package_name> [<OP_NAME>]

Options & Parameters

Flag Description
<package_name> Target application package.
<OP_NAME> Optional specific operation to check.

Real-World Usage Examples

Inspect all AppOps states for an app
Dumps all operation modes.
adb shell appops get com.spotify.music
Output:
Uid mode: WAKE_LOCK: allow; time=+2m20s ago
COARSE_LOCATION: allow; time=+1h ago
RECORD_AUDIO: allow; rejectTime=+4d ago