aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-08-11 18:47:27 -0700
committerXavier Ducrohet <xav@android.com>2011-08-22 11:10:50 -0700
commit72d561178e62b74923cfe3bc0faa59bcb07c57c3 (patch)
tree73281ee53a1af78289200a49b9ce9d180c9c59ad /android/qemulator.c
parent34ddd725dd424c4ad487d223feb0f38f13b10779 (diff)
downloadexternal_qemu-72d561178e62b74923cfe3bc0faa59bcb07c57c3.zip
external_qemu-72d561178e62b74923cfe3bc0faa59bcb07c57c3.tar.gz
external_qemu-72d561178e62b74923cfe3bc0faa59bcb07c57c3.tar.bz2
Revert "Revert "Merge c80340 from master to r13: Move charmap to hardware properties"..."
This reverts commit cccd28ca5064a7bd14282cd774ee5bb7126d5845. c80340 add a CL to tools_r13 that broken the build. It was therefore reverted with cccd28. This revert was merged into tools_r13 but shouldn't have been. This reverts the revert to put back the CL in master. Change-Id: I95fcefedb77596cfdf76269f248b2ae80c85c830
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index 9e88356..35587ff 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -137,17 +137,7 @@ qemulator_init( QEmulator* emulator,
emulator->aconfig = aconfig;
emulator->layout_file = skin_file_create_from_aconfig(aconfig, basepath);
emulator->layout = emulator->layout_file->layouts;
- // If we have a custom charmap use it to initialize keyboard.
- // Otherwise initialize keyboard from configuration settings.
- // Another way to configure keyboard to use a custom charmap would
- // be saving a custom charmap name into AConfig's keyboard->charmap
- // property, and calling single skin_keyboard_create_from_aconfig
- // routine to initialize keyboard.
- if (NULL != opts->charmap) {
- emulator->keyboard = skin_keyboard_create_from_kcm(opts->charmap, opts->raw_keys);
- } else {
- emulator->keyboard = skin_keyboard_create_from_aconfig(aconfig, opts->raw_keys);
- }
+ emulator->keyboard = skin_keyboard_create(opts->charmap, opts->raw_keys);
emulator->window = NULL;
emulator->win_x = x;
emulator->win_y = y;