diff options
author | David Turner <> | 2009-03-25 15:30:56 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-25 15:30:56 -0700 |
commit | 2f7bb38681802b4cf6f83ea97fddcab469224f93 (patch) | |
tree | e1d0c6b12d42cd59d093d318139ce19785ef07ed /android/avd/info.c | |
parent | 9877e2e3e3c2df64de306b48f80a4f5d0b028d95 (diff) | |
download | external_qemu-2f7bb38681802b4cf6f83ea97fddcab469224f93.zip external_qemu-2f7bb38681802b4cf6f83ea97fddcab469224f93.tar.gz external_qemu-2f7bb38681802b4cf6f83ea97fddcab469224f93.tar.bz2 |
Automated import from //branches/master/...@142679,142679
Diffstat (limited to 'android/avd/info.c')
-rw-r--r-- | android/avd/info.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/android/avd/info.c b/android/avd/info.c index afff342..2f0e5a9 100644 --- a/android/avd/info.c +++ b/android/avd/info.c @@ -1242,7 +1242,7 @@ _getBuildSkin( AvdInfo* i, AvdInfoParams* params ) if (!skinName) { /* the (current) default skin name for the build system */ skinName = SKIN_DEFAULT; - DD("selecting default skin name '%s'", skinName); + D("selecting default skin name '%s'", skinName); } i->skinName = ASTRDUP(skinName); @@ -1354,6 +1354,16 @@ avdInfo_getHwConfig( AvdInfo* i, AndroidHwConfig* hw ) if (ini != i->configIni) iniFile_free(ini); + /* special product-specific hardware configuration */ + { + char* p = strrchr(i->androidOut, '/'); + if (p != NULL && p[0] != 0) { + if (p[1] == 's') { + hw->hw_keyboard = 0; + } + } + } + return ret; } |