summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/internal/ModifierKeyState.java
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2020-05-23 16:51:33 +0200
committerMichael W <baddaemon87@gmail.com>2020-05-25 22:10:56 +0200
commit07c937e7011fd20e456fc1b397dee33ff8c5b367 (patch)
treeef3da1b5da67b5312a523ea89aff92894b2a49f7 /java/src/com/android/inputmethod/keyboard/internal/ModifierKeyState.java
parent50ae60707defd1e7ba1be9d033946e8c46bf39c2 (diff)
LatinIME: Fix back-arrow finishing activity
* When going to a sub setting menu and pressing the action bar up arrow instead of the device's back key, the settings are closed instead of going one level up as expected * Call "onBackPressed" instead of "finish" to fix that * For InputMethodSettings create a new flag to alter the behaviour for our use case but to keep existing behaviour for other callers Test: - Open the keyboard settings from Settings app and navigate between menus -> action bar back icon only goes one levelup - Open keyboard settings directly from keyboard: behaviour is the same, last "up" action takes you back to where you came from Change-Id: I4f01e80e7f35ddbd2af1baae899d689f1144a5a1
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/internal/ModifierKeyState.java')
0 files changed, 0 insertions, 0 deletions