From 689d1147b1994be1d8e33ee4d1a8ec76742bb4a6 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Thu, 19 Apr 2012 12:54:08 -0700 Subject: Fix skin issue when launching emulator from tree. When launching the emulator with just -skin from the dev tree the fake AVD was not using the hardware.ini config from the skin due to creating it before resolving skinDir and skinName from the command line options. This change updates the AVD after doing so. Change-Id: Ia0912d72775e26f080f763b29629a3691c253c43 --- android/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'android/main.c') diff --git a/android/main.c b/android/main.c index 9a763e5..66b25c2 100644 --- a/android/main.c +++ b/android/main.c @@ -319,6 +319,9 @@ int main(int argc, char **argv) opts->skindir = skinDir; D("autoconfig: -skindir %s", opts->skindir); + + /* update the avd hw config from this new skin */ + avdInfo_getSkinHardwareIni(avd, opts->skin, opts->skindir); } /* Read hardware configuration */ -- cgit v1.1