spiegel-keyman/android/KMAPro
Marc Durdin 4e699ae573 fix(android): refresh current keyboard when resuming main activity
If the main activity was paused, e.g. to open the keyboard picker, then
it would lost track of the last known keyboard, which meant that the
menu would show details for the wrong keyboard. Add resume logic to
refresh last known keyboard and as a side benefit, fix an unreported bug
with the text area font getting out of sync in the same way.

Also ensure that the keyboard data is updated before the drawer starts
to open, to prevent a delayed change to the active keyboard label.

As part of this, discovered a re-entrancy issue with KMLog, which would
try and collect debug data, which could itself trigger another KMLog
call. Did some basic cleanup of that, but more could be done in a future
iteration.

Noted a number of minor cleanup issues for resolution in v20. The API
has some assumptions around logging and use which should be tightened up
in a future release: in general, the API should not be logging invalid
parameters or state: it should return an error response to the caller,
which should be responsible for logging the issue, if it wants to. The
Engine should only log if there is something internally inconsistent.

Fixes: #16601
2026-09-24 08:23:58 +02:00
..
.idea chore(android/app): Remove runConfigruations.xml file 2021-09-23 10:09:43 +07:00
gradle/wrapper maint(android): Update Gradle to use Java 21 2025-05-08 12:57:17 +07:00
kMAPro fix(android): refresh current keyboard when resuming main activity 2026-09-24 08:23:58 +02:00
.classpath Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
build-play-store-notes.inc.sh maint(android): use new variable name KEYMAN_TIER 2025-05-13 08:56:02 +02:00
build.gradle chore(android): Remove old comments 2025-08-28 10:57:14 +07:00
build.sh chore(android): cleanup Android build scripts and artifact filenames 2026-07-13 16:36:29 +02:00
gradle.properties maint(android): Update Gradle to use Java 21 2025-05-08 12:57:17 +07:00
gradlew fix(android): Update Gradle wrapper to 5.6.4 2020-08-07 08:51:01 +07:00
gradlew.bat fix(android): Update Gradle wrapper to 5.6.4 2020-08-07 08:51:01 +07:00
ic_launcher-web.png Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
lint.xml Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
proguard-project.txt Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
project.properties Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
settings.gradle Add to history.md changelog 2017-08-23 17:28:47 +07:00