AdbRootElevator
public
class
AdbRootElevator
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.AdbRootElevator |
An AutoCloseable
that enables adb root when constructed if needed and restores
root state when complete.
Summary
Public constructors | |
---|---|
AdbRootElevator(INativeDevice device)
|
Public methods | |
---|---|
void
|
close()
|
Public constructors
AdbRootElevator
public AdbRootElevator (INativeDevice device)
Parameters | |
---|---|
device |
INativeDevice |
Throws | |
---|---|
DeviceNotAvailableException |
Public methods
close
public void close ()