SimpleMobileTools / Simple-Keyboard

Easy keyboard for inserting all kinds of texts, special characters and numbers.
https://www.simplemobiletools.com
GNU General Public License v3.0
330 stars 115 forks source link

Direct boot aware fixes #195

Closed Merkost closed 1 year ago

Merkost commented 1 year ago

Made some improvements.

Toolbar was being visible on a lock screen (not after reboot, just after the regular device lock) - Fixed in first commit

Toolbar visibility problem could be reproduced next way (Fixed in second commit):

  1. Start typing something in a simple keyboard app field, for example
  2. Lock the screen immediately
  3. Unlock the device (should be with password) and you will see that toolbar is still invisible. You need to close keyboard and open again in order to update toolbar visibility.
tibbi commented 1 year ago

what should this fix? I still see the toolbar (clipboard etc) at every unlock on my Android 11

Merkost commented 1 year ago

what should this fix? I still see the toolbar (clipboard etc) at every unlock on my Android 11

That' weird. You should have the next behaviour at your lockScreen:

Screenshot 2023-06-18 at 13 24 50
Merkost commented 1 year ago

I have added additional check, could you please test again and provide a screenshot if you are still experiencing wrong behaviour. @tibbi

Newer devices can be set to automatically "unlock" in certain conditions such as Home wifi, Bluetooth proximity, face unlock, etc. Probably that might be the issue. Works perfectly on a clean emulator

tibbi commented 1 year ago

ok thanks, should be good now