summaryrefslogtreecommitdiffstats
path: root/libs/androidfw/Keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/androidfw/Keyboard.cpp')
-rw-r--r--libs/androidfw/Keyboard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/androidfw/Keyboard.cpp b/libs/androidfw/Keyboard.cpp
index a84a8c7..4ddbeab 100644
--- a/libs/androidfw/Keyboard.cpp
+++ b/libs/androidfw/Keyboard.cpp
@@ -129,7 +129,8 @@ status_t KeyMap::loadKeyCharacterMap(const InputDeviceIdentifier& deviceIdentifi
return NAME_NOT_FOUND;
}
- status_t status = KeyCharacterMap::load(path, &keyCharacterMap);
+ status_t status = KeyCharacterMap::load(path,
+ KeyCharacterMap::FORMAT_BASE, &keyCharacterMap);
if (status) {
return status;
}