summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Alex Salo <asalo@google.com> 2023-09-29 22:05:50 +0000
committer Alex Salo <asalo@google.com> 2023-10-09 19:50:45 +0000
commit475bef64e47e057819feea4ccd8ed51422d60814 (patch)
tree090f00d97d9c71c313c07edc88a948ee0f193052 /libs/androidfw/FileStream.cpp
parentd3aecab2425fbd69334ae197f909d87451521962 (diff)
Add PENDING_AUTH state to AutofillManager
This state allows to keep track from when the user selected the inline suggestion to when we completed the authentication (e.g. biometric prompt or bad password check). While in this state, we should ignore the changes in view visibility (and potentially other changes related to re-layout) because the user already selected to apply the inline suggestion for that view state. Specifically this helps with cases when 3P apps do custom visibility change logic when activity goes onPause(). For example, apps can hide EditText for better UX, but it's not a real onPause(), so we should not treat it like one. Another scenario is a manual password selection via PasswordManager - it takes user to another activity to choose the right password, than provides it to the app - but app has hidden the fields. This fix resolves such case as well. Verified this change is correctly guarded by the trunk flags by running: $ adb shell device_config put autofill android.service.autofill.relayout true Change-Id: Icb0eeecdd037946b1f471e198674fb3be32a7ae7 Fixes: 294330426 Fixes: 295262306 Bug: 238252288
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions