diff options
author | Daniel Nishi <dhnishi@google.com> | 2017-03-30 15:46:01 -0700 |
---|---|---|
committer | Daniel Nishi <dhnishi@google.com> | 2017-04-06 14:32:13 -0700 |
commit | b28c9d6b2d3b52d7c4ac1ad8c18591be99e92772 (patch) | |
tree | fbd5324f1473544d19e938ef39ab8737377c92f8 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | eb93670383aa40ad7ed55861e667c08e8a3682a6 (diff) |
Fix crash when measuring storage.
If we are measuring storage and a volume is removed at the same time,
we can enter a state where we previously verified the volume existed,
but it no longer does. This causes an NPE.
By adding in a null check, we can avoid this crash.
Change-Id: Ib8dbf05102a122bdf4bb6063374e993a1de68425
Fixes: 36689190
Test: None
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions