summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hai Zhang <zhanghai@google.com> 2022-03-03 19:45:47 +0000
committer Hai Zhang <zhanghai@google.com> 2022-03-03 19:46:48 +0000
commitc9a82cd3b804701463659964fc0a8dc0a90cedf5 (patch)
treec5b39aa693c930ddb5255b260fd623064583c1b0 /libs/androidfw/StringPool.cpp
parent3e2a850fa69cb3d9b7c36e7c5bee177825c20f6c (diff)
Fix NPE introduced by ag/16740473.
A PackageState doesn't always have an AndroidPackage, so we need to do a null check. Fixes: 222474286 Test: presubmit Change-Id: I1603f3cb096a72f65360db2ab7d8ff5823c28e0d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions