-3

i wnat to disable usb permission dialog when i am connecting my device via usb, how can i bypass it? i know this works for android 4, but what should i do in android 10?

Hosein Haqiqian
  • 579
  • 9
  • 16

1 Answers1

0

i used this solution and added this command to terminal

to use non-sdk api's in android 10:

Adb shell  settings put global hidden_api_policy 1
Hosein Haqiqian
  • 579
  • 9
  • 16