diff options
author | Clara Bayarri <clarabayarri@google.com> | 2017-10-03 15:37:01 +0100 |
---|---|---|
committer | Clara Bayarri <clarabayarri@google.com> | 2017-10-03 16:03:22 +0000 |
commit | cb941157a2282191486f7bbefb961289401f6caa (patch) | |
tree | 787b3aa4a9ad7337955cee40fa9f485105160d08 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0f6e9b5a79ffd82c3276b5e3e7723280884ddb5d (diff) |
Fix NPE in ActivityThread
Calling LoadedApk.getResources() instead of accessing its
mResources directly accounts for the case where this might
not have been initialized.
Bug: 67327250
Test: none
Change-Id: Iaa392a90eefb60ad479cedf8c882976dbe390387
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions