diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-03 19:22:22 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-03 19:22:22 +0100 |
| commit | 3f5dec642e9cfcf3025792f7dd8dad92c6ebf773 (patch) | |
| tree | 669d0c5bd309670c6c5102d264daed730212708d /app/src/main/java/dev/msfjarvis/aps/util/extensions | |
| parent | 89ec8dc13b03af9f7b74a82d187b9bee3c444925 (diff) | |
| download | HardenedPass-compose.tar.gz HardenedPass-compose.zip | |
fix(app): make the app lock work on Android 14compose
LaunchActivity showed the screen lock prompt from onCreate, before the
activity was on top. Android 14's SystemUI evicts a prompt whose app is
not the top activity ("Evicting client due to top activity is not ..."),
so the prompt closed at once with ERROR_CANCELED and the app quit. This
is upstream issue 2802, which upstream worked around by disabling the
setting on Android 14. The prompt now opens on the first window focus.
LaunchActivity also used a translucent theme, so after unlocking the
home screen showed through until MainActivity drew. It now uses the
app's opaque theme.
Verified on an Android 14 tablet with a PIN-only screen lock: unlock
opens the app without a flash of the home screen, cancel closes it, and
turning the lock off asks for the PIN.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main/java/dev/msfjarvis/aps/util/extensions')
0 files changed, 0 insertions, 0 deletions
