summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Grace Cheng <graciecheng@google.com> 2023-12-15 02:29:10 +0000
committer Grace Cheng <graciecheng@google.com> 2023-12-19 23:25:38 +0000
commit0d1ba636d12d8cf3e37bcf8fe1ad82e0e4503843 (patch)
treecc5f95b5e08eb1df4cef5982c35a3b082de4c934 /libs/androidfw/misc.cpp
parent8a83c56fa33b2282089dafb57629bf3699c870eb (diff)
Fix race condition between PromptIconViewBinder and BiometricSizeBinder
Sets BiometricPrompt view invisible until all resizing is complete. Adds new MutableStateFlow updated on iconView onCompositionLoadedListener, and combines this new flow with the BiometricSizeBinder viewModel.size collect call, to force the resizing logic to wait for the iconAsset to update first to account for it in the prompt size. Flag: NONE Fixes: 313605043 Test: (manual) manually verified prompt appears only once and in the correct size, no resizing visible to the user Change-Id: I6b25acbf779c7f2b80b4f2fe8693c6021dbf2903
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions