Support multiple key handlers
Convert the string overlay to a string-array overlay
to allow devices to specify an array of key handlers.
Note that the keyhandlers towards the start of the
array take precedence when loading.
*DU edits*
This is 95% this commit and 5% other stuff, but all from the same author.
So to end my headache, here is 1 more commit to add to Device-Key_Handler.
Change-Id: I5a38129751ead0eed85816a4bb9ac2159ff6d134
Signed-off-by:
Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Showing
- core/java/com/android/internal/os/DeviceKeyHandler.java 1 addition, 1 deletioncore/java/com/android/internal/os/DeviceKeyHandler.java
- core/res/res/values/lmodroid_config.xml 7 additions, 4 deletionscore/res/res/values/lmodroid_config.xml
- core/res/res/values/lmodroid_symbols.xml 3 additions, 3 deletionscore/res/res/values/lmodroid_symbols.xml
- services/core/java/com/android/server/policy/PhoneWindowManager.java 37 additions, 32 deletions...re/java/com/android/server/policy/PhoneWindowManager.java
Loading
Please register or sign in to comment