commit | 2595465821b2c39aa88d5714d224374e032eb1ef | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed May 05 23:50:06 2021 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed May 05 23:50:06 2021 +0800 |
tree | 1f9a116c07aaec5f3ded5c830c1038680deb6418 | |
parent | bd351242a9699d466efd37d0967a35633c666c86 [diff] |
Load icon of splash screen only once It is unnecessary to load icon without scale and load again with scale. Just load the scaled one directly. The construction time of SplashScreenView: Dialer : 36ms -> 24ms Messages: 21ms -> 13ms Contacts: 27ms -> 16ms Bug: 187104264 Test: OpenAppMicrobenchmark Change-Id: I0b71d3038f85a0839af862e5822e10fccbe1395d