| Index: adb/contrib/high.py
|
| diff --git a/adb/contrib/high.py b/adb/contrib/high.py
|
| index 2bfdd2863b097bb09ac07ec4754a404a822d0bd9..10f9adbf93e64c6c394d3743ac9b814ac2b2d75e 100644
|
| --- a/adb/contrib/high.py
|
| +++ b/adb/contrib/high.py
|
| @@ -432,15 +432,18 @@ class HighDevice(object):
|
| def PushContent(self, *args, **kwargs):
|
| return self._device.PushContent(*args, **kwargs)
|
|
|
| - def Reboot(self):
|
| + def Reboot(self, wait=True):
|
| """Reboots the phone then Waits for the device to come back.
|
|
|
| adbd running on the phone will likely not be in Root(), so the caller should
|
| call Root() right afterward if desired.
|
| """
|
| - if not self._device.Reboot():
|
| + if not self._device.Reboot(wait=wait):
|
| return False
|
| - return self.WaitUntilFullyBooted()
|
| + return self.WaitUntilFullyBooted() if wait else True
|
| +
|
| + def Reset(self, new_endpoint=None):
|
| + self._device.ResetHandle(new_endpoint=new_endpoint)
|
|
|
| def Remount(self):
|
| return self._device.Remount()
|
|
|