Skip to content
Browse files

am b10ed0f: Fix picture size option for Arabic languages

* commit 'b10ed0f6bde8f02b3b8a0d66e337bdd32bee23a5':
  Fix picture size option for Arabic languages
  • Loading branch information...
2 parents fa02135 + b10ed0f commit 3673e0c9347e3f312261ef161a3a8cdebca3553e Michael Kolb committed with Android Git Automerger Dec 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/com/android/camera/CameraSettings.java
View
3 src/com/android/camera/CameraSettings.java
@@ -34,6 +34,7 @@
import java.util.ArrayList;
import java.util.List;
+import java.util.Locale;
/**
* Provides utilities and keys for Camera settings.
@@ -329,7 +330,7 @@ private void resetIfInvalid(ListPreference pref) {
private static List<String> sizeListToStringList(List<Size> sizes) {
ArrayList<String> list = new ArrayList<String>();
for (Size size : sizes) {
- list.add(String.format("%dx%d", size.width, size.height));
+ list.add(String.format(Locale.ENGLISH, "%dx%d", size.width, size.height));
}
return list;
}

0 comments on commit 3673e0c

Please sign in to comment.
Something went wrong with that request. Please try again.