aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/main-ui.c3
-rw-r--r--android/main.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/android/main-ui.c b/android/main-ui.c
index 21b3aa3..f1f8539 100644
--- a/android/main-ui.c
+++ b/android/main-ui.c
@@ -1447,6 +1447,9 @@ int main(int argc, char **argv)
args[n++] = "unix";
#endif
+ args[n++] = "-android-avdname";
+ args[n++] = avdInfo_getName(avd);
+
/* Set up the interfaces for inter-emulator networking */
if (opts->shared_net_id) {
unsigned int shared_net_id = atoi(opts->shared_net_id);
diff --git a/android/main.c b/android/main.c
index 9eddb70..7a228f0 100644
--- a/android/main.c
+++ b/android/main.c
@@ -1242,6 +1242,9 @@ int main(int argc, char **argv)
args[n++] = "unix";
#endif
+ args[n++] = "-android-avdname";
+ args[n++] = avdInfo_getName(avd);
+
/* Set up the interfaces for inter-emulator networking */
if (opts->shared_net_id) {
unsigned int shared_net_id = atoi(opts->shared_net_id);