summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authormtk33169 <vineet.jhunjhunwala@mediatek.com>2018-10-29 11:15:51 +0530
committerRobert Chou <robertchou@google.com>2018-11-12 10:49:55 +0000
commit03ae44a8fff5a151b5fb7b0d154978210e838875 (patch)
treeaf7dc33259e98524824da8ea8cf92239dc046031 /tools/aapt2/java/JavaClassGenerator.cpp
parentc90f30d1d983a7700cd3a65461abda329d7e10e6 (diff)
The JE about "android.process.media" will pop up when you eject the
SD card after you set SD as internel phone storage This JE is happening due to null pointer access in makeEntryFor() in MediaScanner.Java. Before accessing the cursor, check if cursor is available and not null. It is a safe check. Bug: 119392250 Test: manual, ran test 20 times and it passed every times. Change-Id: I23039281b63a0a6a411860eb5989cf20a5663c8f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions