ARM-software / devlib

Library for interaction with and instrumentation of remote devices.
Apache License 2.0
47 stars 78 forks source link

android: Don't error if ADB is already running as root #598

Closed marcbonnici closed 2 years ago

marcbonnici commented 2 years ago

With recent versions of adb, adb root can fail if the daemon is already running as root.

Check the raised error message for this case and avoid raising an error in this scenario.