diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-04 11:28:40 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-04 11:28:40 +0100 |
| commit | 1d564b91ecb1b52c585e21f10596e80bc69292d4 (patch) | |
| tree | e7cfa8bfe4ec23b11f81613d67125130c4932c1c /app/src/main/AndroidManifest.xml | |
| parent | e573a321d982341f2940868cb80da8d1eccc6981 (diff) | |
| download | HardenedPass-1d564b91ecb1b52c585e21f10596e80bc69292d4.tar.gz HardenedPass-1d564b91ecb1b52c585e21f10596e80bc69292d4.zip | |
feat(app): move the autofill decryption prompts to Compose
AutofillDecryptActivity shows the no keys dialog and the entry view's
passphrase dialog in Compose over its transparent FLAG_SECURE window.
The flow starts once, on the first window focus, instead of on every
onStart: Android 14 evicts a screen lock prompt shown before the
activity is on top, and a restart showed a second passphrase dialog.
After a key import it restarts on the next focus. Dismissing the no
keys dialog now finishes instead of leaving an invisible window.
Rotation and resizing no longer recreate the activity; other
recreations cancel the fill.
The passphrase is now cached only after a successful screen lock
prompt, as the entry view does: a passphrase typed after a cancelled
or unavailable prompt was cached whenever the cache feature was on.
PasswordDialog, its layout, dimens.xml and requireKeysExist lose their
last user and go.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
| -rw-r--r-- | app/src/main/AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bcddf4c3..15d6447e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -83,8 +83,11 @@ android:resource="@xml/oreo_autofill_service" /> </service> + <!-- ponytail: rotation, resizing and keyboard changes must not cancel a fill in progress; + other recreations (theme, locale) cancel it. --> <activity android:name=".ui.autofill.AutofillDecryptActivity" + android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden" android:exported="false" android:theme="@style/NoBackgroundThemeM3" /> <activity |
