commit | 03ae44a8fff5a151b5fb7b0d154978210e838875 | [log] [tgz] |
---|---|---|
author | mtk33169 <vineet.jhunjhunwala@mediatek.com> | Mon Oct 29 11:15:51 2018 +0530 |
committer | Robert Chou <robertchou@google.com> | Mon Nov 12 10:49:55 2018 +0000 |
tree | af7dc33259e98524824da8ea8cf92239dc046031 | |
parent | c90f30d1d983a7700cd3a65461abda329d7e10e6 [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