From 53eb66db4eba72d2e4fc951456be725e14243f25 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Tue, 1 Mar 2011 14:58:23 +0100 Subject: 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 --- android/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'android/main.c') 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) { -- cgit v1.1