Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ec706343 authored by Hao Dong's avatar Hao Dong Committed by Cherrypicker Worker
Browse files

Fix implict bp broken ui.

This CL fixes `isIconViewLoaded` logic by:
1. Check `modalities` to decide whether an icon should show.
2. If an icon should show, in `PromptIconViewBinder`, check `size` to
   update `_isIconViewLoaded` values. With this, when implicit face
   fails, size changes, `_isIconViewLoaded` could be updated to true.

Flag: N/A
Bug: 328677869
Bug: 328656309
Test: atest PromptViewModelTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:91669d64ade8e1da7af26eeeae79faa88098deed)
Merged-In: I04eb34ba3e2e118e4b4b9f5c8c023945880c38ff
Change-Id: I04eb34ba3e2e118e4b4b9f5c8c023945880c38ff
parent 6ed9de97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment