aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine-utils-testing/src/main/kotlin/app
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-03 19:22:22 +0100
committerDanilo M. <danix@danix.xyz>2026-11-03 19:22:22 +0100
commit3f5dec642e9cfcf3025792f7dd8dad92c6ebf773 (patch)
tree669d0c5bd309670c6c5102d264daed730212708d /coroutine-utils-testing/src/main/kotlin/app
parent89ec8dc13b03af9f7b74a82d187b9bee3c444925 (diff)
downloadHardenedPass-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 'coroutine-utils-testing/src/main/kotlin/app')
0 files changed, 0 insertions, 0 deletions