diff options
| author | 2023-08-25 11:59:18 +0000 | |
|---|---|---|
| committer | 2023-08-25 13:19:32 +0000 | |
| commit | 629dcc363d59f1a262fbe42f6b699dbeecba5dba (patch) | |
| tree | 71c4d067f2be3f42473c3786350bb389809ad307 /libs/androidfw/ZipFileRO.cpp | |
| parent | 7b193950c33c3b543d337a4463db7d42f87d4454 (diff) | |
Load enterprise thumbnail drawable only if needed
It can save ~30% to construct an ActivityRecord.
Especially since shell transition is enabled, it will be handled
in DefaultTransitionHandler#mEnterpriseThumbnailDrawable, then
the drawable in ActivityRecord is never used.
Bug: 297502610
Test: Launch app of profile user by
      CrossProfileApps#startMainActivity
Change-Id: I0ecc1732c902ef53a7f16b4e90bcdfc75a6c1c73
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions