summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ben Lin <linben@google.com> 2024-10-31 23:05:58 +0000
committer Ben Lin <linben@google.com> 2024-11-01 01:37:10 +0000
commit2ddf33ef6d182cf8cc86a762209a93a939d4ea24 (patch)
treedb3760a2212493afc5385a6525e2c381e44cb795 /libs/androidfw/ResourceTimer.cpp
parentce4b8511bccff6efeac246a4b13b1e65b1833301 (diff)
Use baseIntent's componentInfo to supply Icon for Enter-Desktop.
The Enter-Desktop transition animates with the app icon on top of the task window as it enters freeform - however sometimes the way we get its icon it is possible that the baseActivity from TaskInfo is null, thus we have no way to draw the icon. Following what Recents do on the Launcher side, we will instead use the baseIntent's componentInfo to get the correct package, and can get the right icon from IconProvider. Bug: 372882357 Test: No longer seeing same crash trace when entering desktop (different trace) Flag: EXEMPT bugfix Change-Id: Icecd5a1d718d08da36f9a449e54fd7ea9dea37a0
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions