aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_events_device.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-07-22 11:23:19 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-07-22 11:23:19 -0700
commit43552dc4fa64aad0c9fdb8f4c92ae7ac79406596 (patch)
treeb1263d1a7fc5cf44f4f05334d73927dd91148609 /hw/goldfish_events_device.c
parent2fa5173bd1ce7341c50adac676a317945f0969c7 (diff)
downloadexternal_qemu-43552dc4fa64aad0c9fdb8f4c92ae7ac79406596.zip
external_qemu-43552dc4fa64aad0c9fdb8f4c92ae7ac79406596.tar.gz
external_qemu-43552dc4fa64aad0c9fdb8f4c92ae7ac79406596.tar.bz2
Remove UI dependency from goldfish_event_device.c
Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
Diffstat (limited to 'hw/goldfish_events_device.c')
-rw-r--r--hw/goldfish_events_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/goldfish_events_device.c b/hw/goldfish_events_device.c
index 9050aa6..9e98dac 100644
--- a/hw/goldfish_events_device.c
+++ b/hw/goldfish_events_device.c
@@ -274,7 +274,8 @@ void events_dev_init(uint32_t base, qemu_irq irq)
AndroidHwConfig* config = android_hw;
s = (events_state *) qemu_mallocz(sizeof(events_state));
- s->name = android_skin_keycharmap;
+ // Use name of the default charmap.
+ s->name = android_get_default_charmap_name();
/* now set the events capability bits depending on hardware configuration */
/* apparently, the EV_SYN array is used to indicate which other