am 808c739a: Merge change 23402 into eclair

Merge commit '808c739a9428b11a811659403bbb46a0814a2928' into eclair-plus-aosp

* commit '808c739a9428b11a811659403bbb46a0814a2928':
  Fix 2081525: NPE in MediaScannerService.
This commit is contained in:
Chih-Chung Chang
2009-08-31 22:35:51 -07:00
committed by Android Git Automerger

View File

@@ -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;