aboutsummaryrefslogtreecommitdiffstats
path: root/android/main.c
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-04-19 12:54:08 -0700
committerXavier Ducrohet <xav@android.com>2012-04-19 13:41:24 -0700
commit689d1147b1994be1d8e33ee4d1a8ec76742bb4a6 (patch)
treeac1bde51d7298672ccb387d73135163302b23119 /android/main.c
parentbdd020b108b63fcfccefb2905b9d0401f739981a (diff)
downloadexternal_qemu-689d1147b1994be1d8e33ee4d1a8ec76742bb4a6.zip
external_qemu-689d1147b1994be1d8e33ee4d1a8ec76742bb4a6.tar.gz
external_qemu-689d1147b1994be1d8e33ee4d1a8ec76742bb4a6.tar.bz2
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
Diffstat (limited to 'android/main.c')
-rw-r--r--android/main.c3
1 files changed, 3 insertions, 0 deletions
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 */