diff options
author | Winson <chiuwinson@google.com> | 2019-05-06 11:53:30 -0700 |
---|---|---|
committer | Winson <chiuwinson@google.com> | 2019-05-07 10:24:19 -0700 |
commit | 4160523864a6b1a9a35669e9080ca9eac8d32ca7 (patch) | |
tree | 89462d32b9de709ce190c03a7b4821fb4eeeb829 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d7314d7ab38fded0016903b800bc7278853fe391 (diff) |
Null check ApplicationInfo for ApplicationPackageManager#loadUnbadgedItemIcon
Broken by I55026af543ff71ac0d947159bc6aeb3b33f31271 which added a shortcut.
Really caused by the method not being annotated correctly so it was
non-obvious that the AppInfo could be null.
Bug: 132078158
Test: atest PackageItemInfoIconTest
Change-Id: Ifd2789a80d2dad86ba4e09b1d9220ecab5d612ec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions