diff options
author | Dave Mankoff <mankoff@google.com> | 2020-03-19 11:26:33 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2020-03-24 16:19:43 -0400 |
commit | c46982833c52a93a8c30b85426ec2e5b377ce4eb (patch) | |
tree | a36b5f8329cb91d52fca83a0206db3b08323c5fa /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 27bb209292bb27986f89d2d47f046d8f90b9fff2 (diff) |
Cache icon drawables.
There's only a few of these. They currently get reloaded every time
the view changes states. This loading also happens in an on-predraw
listener. Cache them instead.
Fixes: 145666518
Test: atest SystemUITests
Change-Id: I5727459d395f1e347db42d91b313913c079ff3be
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions