| Index: build/android/pylib/device/device_utils.py
|
| diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py
|
| index 0e49f568f648806948cdbed564a05cbc719be412..fccdd619d02322e10763424405f78aa477e82c6a 100644
|
| --- a/build/android/pylib/device/device_utils.py
|
| +++ b/build/android/pylib/device/device_utils.py
|
| @@ -689,10 +689,14 @@ class DeviceUtils(object):
|
| timeout: timeout in seconds
|
| retries: number of retries
|
|
|
| + Returns:
|
| + True if the device-side property changed and a restart is required as a
|
| + result, False otherwise.
|
| +
|
| Raises:
|
| CommandTimeoutError on timeout.
|
| """
|
| - self.old_interface.SetJavaAssertsEnabled(enabled)
|
| + return self.old_interface.SetJavaAssertsEnabled(enabled)
|
|
|
| @decorators.WithTimeoutAndRetriesFromInstance()
|
| def GetProp(self, property_name, timeout=None, retries=None):
|
|
|