Method: ADB#root
- Defined in:
- lib/ADB.rb
#root(target = {}, timeout = 30) ⇒ Object
restarts the adb daemon with root permissions
:emulator, and :serial. seconds.
199 200 201 |
# File 'lib/ADB.rb', line 199 def root(target={}, timeout=30) execute_adb_with(timeout, "#{which_one(target)} root") end |