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

Skip to content
Commit 2ddf33ef authored by Ben Lin's avatar Ben Lin
Browse files

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
parent ce4b8511
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment