Index: build/android/pylib/android_commands.py |
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py |
index f8c074758d08c35ce7b637959447b1a68faaf598..be0a057d9d925d1ea70dd38f54968eb0f265123c 100644 |
--- a/build/android/pylib/android_commands.py |
+++ b/build/android/pylib/android_commands.py |
@@ -1083,7 +1083,8 @@ class AndroidCommands(object): |
def GetSetupWizardStatus(self): |
"""Returns the status of the device setup wizard (e.g. DISABLED).""" |
status = self.RunShellCommand('getprop ro.setupwizard.mode')[0] |
- assert status |
+ # On some devices, the status is empty if not otherwise set. In such cases |
+ # the caller should expect an empty string to be returned. |
return status |
def StartMonitoringLogcat(self, clear=True, logfile=None, filters=None): |