aboutsummaryrefslogtreecommitdiffstats
path: root/android/avd
diff options
context:
space:
mode:
authorDavid Turner <>2009-04-13 18:01:32 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-13 18:01:32 -0700
commit791d86195fedca3a8cba5d7fa3e3610302361a78 (patch)
treeb9bf7585de87708a175f1753dc455b97cc434581 /android/avd
parent669c47953c86f489d2a7ce8893bc9a5e1f0620e5 (diff)
downloadexternal_qemu-791d86195fedca3a8cba5d7fa3e3610302361a78.zip
external_qemu-791d86195fedca3a8cba5d7fa3e3610302361a78.tar.gz
external_qemu-791d86195fedca3a8cba5d7fa3e3610302361a78.tar.bz2
AI 145976: am: CL 145806 Add qemud-version auto-detection logic to android/hw-qemud.c
Document the supported QEMUD services in known Android systems Print "Press F6 to exit trackball mode..." in the window title bar when one activates the persistent trackball mode. The actual text depends on your key binding configuration. Refine the skin directory auto-search paths when an AVD name is not given on the command line. This makes the following work correctly: tools/emulator -sysdir platforms/android-1.5/images -data foo.img Original author: digit Merged from: //branches/cupcake/... Automated import of CL 145976
Diffstat (limited to 'android/avd')
-rw-r--r--android/avd/info.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/android/avd/info.c b/android/avd/info.c
index ec74249..1bdb59c 100644
--- a/android/avd/info.c
+++ b/android/avd/info.c
@@ -1281,9 +1281,18 @@ _getBuildSkin( AvdInfo* i, AvdInfoParams* params )
#define PREBUILT_SKINS_DIR "development/emulator/skins"
- /* the (current) default skin directory */
- p = bufprint( temp, end, "%s/%s",
- i->androidBuildRoot, PREBUILT_SKINS_DIR );
+ do {
+ /* try in <sysdir>/../skins first */
+ p = bufprint( temp, end, "%s/../skins",
+ i->androidBuildRoot );
+ if (path_exists(temp))
+ break;
+
+ /* the (current) default skin directory */
+ p = bufprint( temp, end, "%s/%s",
+ i->androidBuildRoot, PREBUILT_SKINS_DIR );
+ } while (0);
+
} else {
p = bufprint( temp, end, "%s", skinDir );
}