| Index: build/android/pylib/android_commands.py
|
| diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
|
| index 51911d3a0635bc4d484c62f67300892fa13abb17..41d5551cda8f183d648c8abd41e19ef3037a991d 100644
|
| --- a/build/android/pylib/android_commands.py
|
| +++ b/build/android/pylib/android_commands.py
|
| @@ -839,6 +839,12 @@ class AndroidCommands(object):
|
| assert build_type
|
| return build_type
|
|
|
| + def GetProductModel(self):
|
| + """Returns the namve of the product model (e.g. "Galaxy Nexus") """
|
| + model = self.RunShellCommand('getprop ro.product.model')[0]
|
| + assert model
|
| + return model
|
| +
|
| def StartMonitoringLogcat(self, clear=True, logfile=None, filters=None):
|
| """Starts monitoring the output of logcat, for use with WaitForLogMatch.
|
|
|
|
|