diff options
author | Xavier Ducrohet <xav@android.com> | 2011-08-11 17:36:34 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2011-08-11 18:03:19 -0700 |
commit | cccd28ca5064a7bd14282cd774ee5bb7126d5845 (patch) | |
tree | f0a4eaf1afbbe1d3fd2eac93ea6b9a8e018cb942 /android/avd | |
parent | f490aee025b3bab5bcdb065e5fc1b1abecf16b97 (diff) | |
download | external_qemu-cccd28ca5064a7bd14282cd774ee5bb7126d5845.zip external_qemu-cccd28ca5064a7bd14282cd774ee5bb7126d5845.tar.gz external_qemu-cccd28ca5064a7bd14282cd774ee5bb7126d5845.tar.bz2 |
Revert "Merge c80340 from master to r13: Move charmap to hardware properties". do not merge.
This reverts commit f490aee025b3bab5bcdb065e5fc1b1abecf16b97.
Change-Id: I59a0b2aebc8ab2b788a820a206c6eb4fc6e6e6d2
Diffstat (limited to 'android/avd')
-rw-r--r-- | android/avd/hardware-properties.ini | 12 | ||||
-rw-r--r-- | android/avd/info.c | 19 | ||||
-rw-r--r-- | android/avd/info.h | 6 |
3 files changed, 0 insertions, 37 deletions
diff --git a/android/avd/hardware-properties.ini b/android/avd/hardware-properties.ini index 0e650bb..dabf166 100644 --- a/android/avd/hardware-properties.ini +++ b/android/avd/hardware-properties.ini @@ -83,18 +83,6 @@ default = yes abstract = Keyboard lid support description = Whether the QWERTY keyboard can be opened/closed. -# The name of the hardware charmap for this device. -# -# NOTE: This should always be the default 'qwerty2' unless you have -# modified the system image accordingly. This name is sent to -# the kernel at boot time. Using an incorrect name will result -# in an unusable machine. -name = hw.keyboard.charmap -type = string -default = qwerty2 -abstract = Keyboard charmap name -description = Name of the system keyboard charmap file. - # DPad keys name = hw.dPad type = boolean diff --git a/android/avd/info.c b/android/avd/info.c index b8160a8..1ab066c 100644 --- a/android/avd/info.c +++ b/android/avd/info.c @@ -1162,22 +1162,3 @@ avdInfo_getSkinInfo( AvdInfo* i, char** pSkinName, char** pSkinDir ) AFREE(skinPath); return; } - -char* -avdInfo_getCharmapFile( AvdInfo* i, const char* charmapName ) -{ - char fileNameBuff[PATH_MAX]; - const char* fileName; - - if (charmapName == NULL || charmapName[0] == '\0') - return NULL; - - if (strstr(charmapName, ".kcm") == NULL) { - snprintf(fileNameBuff, sizeof fileNameBuff, "%s.kcm", charmapName); - fileName = fileNameBuff; - } else { - fileName = charmapName; - } - - return _avdInfo_getContentOrSdkFilePath(i, fileName); -} diff --git a/android/avd/info.h b/android/avd/info.h index 5cb3872..2469f68 100644 --- a/android/avd/info.h +++ b/android/avd/info.h @@ -215,12 +215,6 @@ const char* avdInfo_getContentPath( AvdInfo* i ); */ void avdInfo_getSkinInfo( AvdInfo* i, char** pSkinName, char** pSkinDir ); -/* Find a charmap file named <charmapName>.kcm for this AVD. - * Returns the path of the file on success, or NULL if not found. - * The result string must be freed by the caller. - */ -char* avdInfo_getCharmapFile( AvdInfo* i, const char* charmapName ); - /* Returns TRUE iff in the Android build system */ int avdInfo_inAndroidBuild( AvdInfo* i ); |