summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Chandru S <chandruis@google.com> 2024-09-20 23:33:00 +0000
committer Chandru S <chandruis@google.com> 2024-09-20 23:33:00 +0000
commitcd7db757e188d647af49a44b114a5f7d3c627330 (patch)
treed0bb0c63c06f15252c840f784e5d5b10b2644e4d /libs/androidfw/StringPool.cpp
parent30c37da036f8a6dbcf4d605e77b1e1c099d4c887 (diff)
Stop requesting focus to the input text field if authentication was successful
Right now, after successful authentication, 1. onTextFieldFocusChanged is invoked with false 2. This triggers the coroutine which sees that `inputEnabled && !hasFocus` is true 3. isTextFieldFocusRequested is then set to true 4. The LaunchedEffect(isTextFieldFocusRequested) runs and requests focus on the text field 5. This repeats until the DisposableEffect and the view is disposed. This is preventing the RemoteInputView in the notification from getting focus and showing inline reply input area Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.notification.NotificationRemoteInput#remoteInputReply_lockscreenPasswordLockedLifetimeExtends -- --abi arm64-v8a Bug: 368108228 Flag: com.android.systemui.compose_bouncer Change-Id: I06e2e0d6609ff12be830e712e46ce7bce2e39b5b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions