This fixes the transition on the lock screen to handle the Globe key on key press (GLOBE_KEY_STATE_DOWN).
User Testing
Setup -
Install the PR build of Keyman for Android on an emulator. Best to use an emulator in case the lock screen gets stuck on the wrong keyboard for entering the password.
On the Android emulator Settings, set the lock screen to use a password of "qwerty".
TEST_KEYMAN_LOCK_SCREEN - Verifies Keyman globe key on lock screen
Launch Keyman
From "Get Started", set Keyman as the default ksystem keyboard.
Launch Chrome and select a text field.
Switch to Keyman if it's no the current keyboard.
Lock the emulator
Press button to enter the lock screen
With Keyman on the lock screen, press and release the globe key
Verify the keyboard switches to another system keyboard (non-Keyman).
✅ TEST_KEYMAN_LOCK_SCREEN (PASSED): I tested this issue with the attached "Keyman 17.0.326-test-11468" build on Android 14 (emulator and physical devices) environment: Here is my observation. (notes)
TEST_KEYMAN_LOCK_SCREEN (PASSED): I tested this issue with the attached "Keyman 17.0.326-test-11468" build on Android 14 (emulator and physical devices) environment: Here is my observation.
Installed the "Keyman-17.0.326.apk" file and gave all permissions to the application.
Checked the "Enable Keyman as system-wide keyboard" and set the keyboard as the default keyboard box on the settings page.
Open the Keyman App and then add any two keyboards.
On Android 14 Mobile and Emulator: set the lock screen to use a password of "qwerty."
Press the lock button on the mobile.
On Lock screen: The Keyman keyboard appears on the lock screen. Press the globe key and then observe that the keyman switches from English to another language.
If Keyman had only one keyboard and then switched to another system keyboard(Gboard). It works well. Thank you.
Cherrypick #11458 to stable-17.0
This fixes the transition on the lock screen to handle the Globe key on key press (GLOBE_KEY_STATE_DOWN).
User Testing
Setup -
TEST_KEYMAN_LOCK_SCREEN - Verifies Keyman globe key on lock screen