diff options
author | David 'Digit' Turner <digit@android.com> | 2011-03-01 14:58:23 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-03-01 16:09:13 +0100 |
commit | 53eb66db4eba72d2e4fc951456be725e14243f25 (patch) | |
tree | fa55aa1c310db2b48cc49bbbc3dc2c5e76e5097a /android/main.c | |
parent | 143a7553845c11028f867eb3f3e2f10c66b591c6 (diff) | |
download | external_qemu-53eb66db4eba72d2e4fc951456be725e14243f25.zip external_qemu-53eb66db4eba72d2e4fc951456be725e14243f25.tar.gz external_qemu-53eb66db4eba72d2e4fc951456be725e14243f25.tar.bz2 |
Move AVD name initialization to the core.
Use a hardware property to send the AVD name to the core.
The -android-avdname core option is still supported though.
Change-Id: I4daac5c9fb65ed5261b5c04c1e1a18daed057a3f
Diffstat (limited to 'android/main.c')
-rw-r--r-- | android/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/android/main.c b/android/main.c index 64314b0..acc91e6 100644 --- a/android/main.c +++ b/android/main.c @@ -1020,8 +1020,7 @@ int main(int argc, char **argv) /* physical memory is now in hw->hw_ramSize */ - args[n++] = "-android-avdname"; - args[n++] = (char*) avdInfo_getName(avd); + hw->avd_name = ASTRDUP(avdInfo_getName(avd)); /* Set up the interfaces for inter-emulator networking */ if (opts->shared_net_id) { |