OSDN Git Service

Fix NPE
authorMarco Nelissen <marcone@google.com>
Tue, 17 Feb 2015 22:31:33 +0000 (14:31 -0800)
committerThe Android Automerger <android-build@google.com>
Wed, 18 Feb 2015 00:32:03 +0000 (16:32 -0800)
commitc031561475959b3632d521566bbf1af8f806987d
tree3a5d0e576d80ff79d2f654bd91ebbd1d847276ec
parent51754778266652d206696fc905161db02b608880
Fix NPE

Path can be null if sd card was ejected, and we shouldn't make a thumbnail
in that case.

Bug: 19380821
Change-Id: Iee69effdd321622de026ad7b57c74cf9da81a176
core/java/android/provider/MediaStore.java