diff options
| author | 2022-10-20 20:43:37 -0700 | |
|---|---|---|
| committer | 2022-10-21 08:02:37 -0700 | |
| commit | 814b4dd00cbf5392a8caf5caf53ebc670e39bd02 (patch) | |
| tree | 42a4f6892a49a273f0e1aecf3e3a42c6dda0f004 /services/coverage/java | |
| parent | a04b35b69771b0a39f576ae76cca4d8a873a1252 (diff) | |
Fix labels loading regression
DisplayResolveInfo#getDisplayLabel() internally loads the display label
if it is missing and a ResolveInfoPresentationGetter is set for the
instance.
Current view binding logic unconditionally calls getDisplayLabel method
which could trigger label resolution on the main thread and a
consequently scheduled label loading asynchronous task a no-op.
Test: manual functionality testing
Test: introduce artificial into LoadLabelTask, observe labels lading
asynchronously and does not reload when scrolling through a long list
of options.
Test: atest FrameworksCoreTests:ResolverActivityTest
Bug: 245934835
Change-Id: I392d6c8424617820bde58887d92ae99bc39c5b7b
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions