diff options
author | Jeff DeCew <jeffdq@google.com> | 2020-09-25 10:51:33 -0400 |
---|---|---|
committer | Jeff DeCew <jeffdq@google.com> | 2020-09-25 11:26:02 -0400 |
commit | bf881172ff591b9d8b5e4608a414b4c171a32439 (patch) | |
tree | bb7cc241e3ec197f557fd23ab12bbf49c271f2b7 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | faeec12c7da59ba2d0d401306dd0251fcceee7a9 (diff) |
Fix LockIcon to use Context.getDrawable(int)
Using Resources.getDrawable(int) is deprecated because it lacks theme information,
and I was seeing a crash because theme attributes were not fully resolved.
Test: manual
Change-Id: Idf1b13e16362c2e06227813f4298091ba4406bd5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions