am 9ccad706: am 2ddfdb05: Merge "Change content description for phone right tab from..." into jb-mr1.1-dev
* commit '9ccad7066d92fedd524d5b5b7bdb022ff2a9acf5':
Change content description for phone right tab from...
diff --git a/src/com/android/contacts/util/ContactPhotoUtils.java b/src/com/android/contacts/util/ContactPhotoUtils.java
index 49be19d..b14b36c 100644
--- a/src/com/android/contacts/util/ContactPhotoUtils.java
+++ b/src/com/android/contacts/util/ContactPhotoUtils.java
@@ -30,6 +30,7 @@
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
+import java.util.Locale;
/**
* Utilities related to loading/saving contact photos.
@@ -69,7 +70,7 @@
public static String generateTempPhotoFileName() {
Date date = new Date(System.currentTimeMillis());
- SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT);
+ SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US);
return "ContactPhoto-" + dateFormat.format(date) + ".jpg";
}