Skip to content

Instantly share code, notes, and snippets.

@BrnPer
Last active April 20, 2022 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrnPer/fea6064293d31013ee8a96a17f50a171 to your computer and use it in GitHub Desktop.
Save BrnPer/fea6064293d31013ee8a96a17f50a171 to your computer and use it in GitHub Desktop.
AnyDesk don't ask for start screen share always (Android)
Screenrecording Dialog (Android 10+)
Starting with Android 10 and newer, Android forces to accept a Dialog for Screen recording. A workaround to bypass the request is the following adb shell command:
regular version:
adb shell appops set com.anydesk.anydeskandroid PROJECT_MEDIA allow
custom client:
adb shell appops set com.anydesk.anydeskandroid.custom PROJECT_MEDIA allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment