Merge change 23402 into eclair
* changes: Fix 2081525: NPE in MediaScannerService.
This commit is contained in:
@@ -340,6 +340,7 @@ public class ExifInterface {
|
||||
ParsePosition pos = new ParsePosition(0);
|
||||
try {
|
||||
Date date = sFormatter.parse(dateTimeString, pos);
|
||||
if (date == null) return -1;
|
||||
return date.getTime();
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user