spiegel-keyman/android/KMAPro/kMAPro/src/main
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
..
assets change the keybaord_banner to dark in dark mode 2026-07-07 22:02:03 +07:00
java/com fix(android): refresh current keyboard when resuming main activity 2026-09-24 08:23:58 +02:00
play/release-notes/en-US feat(android/app): Auto-generate Play Store release notes 2021-05-24 09:52:13 +07:00
res chore(android): Update crowdin strings for Spanish - Latin America 2026-08-12 16:48:12 -05:00
AndroidManifest.xml change(android): more AndroidManifest refinements 2026-09-10 09:05:59 -05:00
ic_launcher-playstore.png chore(android/app): Migrate launcher icon to adaptive 2021-03-18 21:36:52 +07:00