commit | 91669d64ade8e1da7af26eeeae79faa88098deed | [log] [tgz] |
---|---|---|
author | Hao Dong <spdonghao@google.com> | Thu Mar 07 23:29:54 2024 +0000 |
committer | Hao Dong <spdonghao@google.com> | Mon Mar 11 17:38:46 2024 +0000 |
tree | 7ba253f87c9c483ee1dd472522069a38ae8a3e3b | |
parent | 73dc5d51316a05cc55db0fc8051a70c555120525 [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 Change-Id: I04eb34ba3e2e118e4b4b9f5c8c023945880c38ff