summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethodcommon/InputMethodSettingsFragment.java
Commit message (Collapse)AuthorAgeFilesLines
* LatinIME: Fix back-arrow finishing activityMichael W2020-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | * 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
* LatinIME: Remove dividers everywhereMichael W2020-05-251-2/+3
| | | | | | | | | | | * Instead of removing the dividers per fragment, create a custom fragment which does the job Test: * Go to every setting and verify that there are no divider lines between every preference Change-Id: Id76dfa2e3ce3999242c8dd09a531ab06ccacd203
* Merge inputmethodcommon into LatinIME repoYohei Yukawa2018-06-241-0/+95
This is a preparation to deprecate frameworks/opt/inputmethodcommon repository. Currently repository 'inputmethodcommon' is used only from LatinIME. Having such a repository only for one project is overkill. Also, to add gradle build support to LatinIME project, it would be much easier LatinIME didn't have such a dependency. This CL mechanically copies files in 'inputmethodcommon' repository to 'LatinIME' repository. In theory there should be no behavior change. Bug: 110741521 Test: tapas LatinIME && make -j Change-Id: I3fabb038be9a944dcd9ef79ffcc89800a5f0bf5a