diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-11-15 17:48:10 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-11-15 18:00:10 -0800 |
commit | 1e08fe90df18930691b0c2ec22e5db25d7fcb4cf (patch) | |
tree | 772ffaafe6917d37ee65f5ed3d653230557bdc80 /libs/ui/KeyCharacterMap.cpp | |
parent | 9058435dc1a741030c042c4d6f2512f5d1605e5d (diff) |
Eliminate hw.keyboards system properties.
Stop using system properties to publish information about
the key character map path. Instead, we can retrieve it
on demand by asking the window manager.
It was possible to exhaust the supply of system properties
when repeatedly adding and removing input devices.
Bug: 5532806
Change-Id: Idd361a24ad7db2edc185c8546db7fb05f9c28669
Diffstat (limited to 'libs/ui/KeyCharacterMap.cpp')
-rw-r--r-- | libs/ui/KeyCharacterMap.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ui/KeyCharacterMap.cpp b/libs/ui/KeyCharacterMap.cpp index 2decfe93215a..77f18dec5c9f 100644 --- a/libs/ui/KeyCharacterMap.cpp +++ b/libs/ui/KeyCharacterMap.cpp @@ -124,17 +124,6 @@ status_t KeyCharacterMap::load(const String8& filename, KeyCharacterMap** outMap return status; } -status_t KeyCharacterMap::loadByDeviceId(int32_t deviceId, KeyCharacterMap** outMap) { - *outMap = NULL; - - String8 filename; - status_t result = getKeyCharacterMapFile(deviceId, filename); - if (!result) { - result = load(filename, outMap); - } - return result; -} - int32_t KeyCharacterMap::getKeyboardType() const { return mType; } |