commit | 629dcc363d59f1a262fbe42f6b699dbeecba5dba | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Fri Aug 25 11:59:18 2023 +0000 |
committer | Riddle Hsu <riddlehsu@google.com> | Fri Aug 25 13:19:32 2023 +0000 |
tree | 71c4d067f2be3f42473c3786350bb389809ad307 | |
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