Skip to content

Instantly share code, notes, and snippets.

@balachandarlinks
Last active May 21, 2023 09:29
Show Gist options
  • Save balachandarlinks/46be5ffa675ae3dbedc27b5f8e2f84b8 to your computer and use it in GitHub Desktop.
Save balachandarlinks/46be5ffa675ae3dbedc27b5f8e2f84b8 to your computer and use it in GitHub Desktop.
ADB Commands to grant permissions for TVUsage app.
> adb shell pm grant --user <USER_ID> in.codeseed.tvusage android.permission.PACKAGE_USAGE_STATS
> adb shell appops set --user <USER_ID> in.codeseed.tvusage GET_USAGE_STATS allow
> adb shell dumpsys deviceidle whitelist +in.codeseed.tvusage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment