commit | 5e0e159b8d5d587e5535d11cb29121a21f39c14f | [log] [tgz] |
---|---|---|
author | kaiyiz <kaiyiz@codeaurora.org> | Mon Aug 05 16:41:36 2013 +0800 |
committer | DAGr8 <ren.o.custom@gmail.com> | Fri Sep 06 15:26:03 2013 -0400 |
tree | 7d5151ac1bf9f2b720021e4f1347f415a27e3b4e | |
parent | 1c7d4d324fb5343802242faeabdaf359c6cd6109 [diff] |
Gallery2: fix NPE when you save edited picture in file explorer. If view a picture from file explorer, the scheme of the uri is "file", and it gets null when it gets mimeType from the uri, a NullPointerException happens. If the scheme of the uri is "file", we get mimeType in another way. CRs-Fixed: 522216 Change-Id: I7111a4e3fdb2d8c5eea7646d147d829de4ff7d33