Index: build/android/emulator.py |
diff --git a/build/android/emulator.py b/build/android/emulator.py |
index d4f3caa409272f35f97022e1bf099f20ea08cc77..106f61c556bc4f7fd6481aa718f4a1a27613e990 100755 |
--- a/build/android/emulator.py |
+++ b/build/android/emulator.py |
@@ -149,6 +149,10 @@ class Emulator(object): |
return ('emulator-%d' % port, port) |
def _CreateAVD(self, avd_name): |
+ """Creates an AVD with the given name. |
+ |
+ Return avd_name. |
+ """ |
avd_command = [ |
self.android, |
'--silent', |
@@ -166,9 +170,10 @@ class Emulator(object): |
avd_process.stdin.write('no\n') |
avd_process.wait() |
logging.info('Create AVD command: %s', ' '.join(avd_command)) |
- return self.avd |
+ return avd_name |
def _DeleteAVD(self): |
+ """Delete the AVD of this emulator.""" |
avd_command = [ |
John Grabowski
2012/07/23 19:21:15
If the test crashes (e.g. python error), do we "le
|
self.android, |
'--silent', |