diff options
author | David 'Digit' Turner <digit@android.com> | 2011-05-05 12:49:51 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-05-05 13:02:34 +0200 |
commit | ec6cedb56251ce3d5703c43c352d373c0baaa76d (patch) | |
tree | 91371e03b73dbc19c422be9a8fef3a47466ae1c5 | |
parent | 240c5cb1a24f5201472067a24c5d1ac54f6b8a20 (diff) | |
download | external_qemu-ec6cedb56251ce3d5703c43c352d373c0baaa76d.zip external_qemu-ec6cedb56251ce3d5703c43c352d373c0baaa76d.tar.gz external_qemu-ec6cedb56251ce3d5703c43c352d373c0baaa76d.tar.bz2 |
Fix "avd name" bug.
The console's 'avd name' command returned "unknown" incorrectly.
This was due to a missing option when invoking the core, even in
the standalone case.
Fixes bug 3454261
Change-Id: I5d4e346591e13bd7f525ad81953fd2d17c8f27b7
NOTE: This is similar to the tools_r10 quick fix at
https://review.source.android.com/#change,22735,
only simpler.
-rw-r--r-- | android/console.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/android/console.c b/android/console.c index 0affb46..505d331 100644 --- a/android/console.c +++ b/android/console.c @@ -134,9 +134,6 @@ ControlClient ui_core_ctl_client = NULL; ControlClient core_ui_ctl_client = NULL; #endif // CONFIG_STANDALONE_CORE -/* -android-avdname option value. Defined in vl-android.c */ -extern char* android_op_avd_name; - static int control_global_add_redir( ControlGlobal global, int host_port, @@ -2207,7 +2204,7 @@ do_avd_status( ControlClient client, char* args ) static int do_avd_name( ControlClient client, char* args ) { - control_write( client, "%s\r\n", android_op_avd_name); + control_write( client, "%s\r\n", android_hw->avd_name); return 0; } |