commit | e4bea2d769ae9ab3df028886d61e1215e43fab6f | [log] [tgz] |
---|---|---|
author | Daniel Nishi <dhnishi@google.com> | Wed May 31 13:56:52 2017 -0700 |
committer | Daniel Nishi <dhnishi@google.com> | Wed May 31 13:56:52 2017 -0700 |
tree | 72853fa8ee618684fa447622104214fdd4f33532 | |
parent | db0836779ea7bb36088ebe77de14461b2a0cc033 [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.