summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDaniel Nishi <dhnishi@google.com>2017-03-30 15:46:01 -0700
committerDaniel Nishi <dhnishi@google.com>2017-04-06 14:32:13 -0700
commitb28c9d6b2d3b52d7c4ac1ad8c18591be99e92772 (patch)
treefbd5324f1473544d19e938ef39ab8737377c92f8 /tools/aapt2/java/JavaClassGenerator.cpp
parenteb93670383aa40ad7ed55861e667c08e8a3682a6 (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