summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-05-05 23:50:06 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-05-05 23:50:06 +0800
commit2595465821b2c39aa88d5714d224374e032eb1ef (patch)
tree1f9a116c07aaec5f3ded5c830c1038680deb6418 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbd351242a9699d466efd37d0967a35633c666c86 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions