summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Daniel Nishi <dhnishi@google.com> 2017-05-31 13:56:52 -0700
committer Daniel Nishi <dhnishi@google.com> 2017-05-31 13:56:52 -0700
commite4bea2d769ae9ab3df028886d61e1215e43fab6f (patch)
tree72853fa8ee618684fa447622104214fdd4f33532 /libs/androidfw/AttributeResolution.cpp
parentdb0836779ea7bb36088ebe77de14461b2a0cc033 (diff)
Fix an NPE when FileCollector runs.
In some cases, the path for a VolumeInfo may be null. The previous implementation assumed it was always non-null, however. This backs out of the calculation early if we cannot find the files. Change-Id: Icfe265be738c5ccb16917ef339b2b872f2057f07 Fixes: 38308873 Test: No observed phone crashes with a flashed build.
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions