commit | ec706343cd79ecbd35d5f558014665f7a9f1ea3f | [log] [tgz] |
---|---|---|
author | Hao Dong <spdonghao@google.com> | Thu Mar 07 23:29:54 2024 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Wed Mar 13 02:41:25 2024 +0000 |
tree | bb9245bf1d9bb7ded5590b5f21f5edbb623f3a80 | |
parent | 6ed9de9711ac2338125f946b7e7d6d92ad2a63f5 [diff] |
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