summaryrefslogtreecommitdiff
path: root/libs/ui/KeyCharacterMap.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-11-18 20:52:43 -0800
committer Jeff Brown <jeffbrown@google.com> 2010-11-23 15:26:48 -0800
commitd5fdf7d74b1ff47ed457ecdb0e0c4310ff7d031f (patch)
treec10fa468d1c04377316b0c7ebd624cd4eff1e0a7 /libs/ui/KeyCharacterMap.cpp
parentaa171003b33ef7c0784ecf9baab62118e1345c6e (diff)
Port Emulator keymaps.
Also added a validation tool for keymaps (not currently integrated into the build system but getting there). This change brings back Android.mk with the intent that it will be used to validate keymaps in a later change. Added some missing keys that are present on phones. Bug: 3215210 Bug: 3225421 Change-Id: Id817c6e2215164616942c51a42752915d9ceacd3
Diffstat (limited to 'libs/ui/KeyCharacterMap.cpp')
-rw-r--r--libs/ui/KeyCharacterMap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ui/KeyCharacterMap.cpp b/libs/ui/KeyCharacterMap.cpp
index 890cc3fe37..e689c4b0d9 100644
--- a/libs/ui/KeyCharacterMap.cpp
+++ b/libs/ui/KeyCharacterMap.cpp
@@ -733,6 +733,7 @@ status_t KeyCharacterMap::Parser::parseModifier(const String8& token, int32_t* o
}
combinedMeta |= metaState;
+ start = cur + 1;
if (ch == '\0') {
break;