a/packages/apps/Camera/src/com/android/camera/CameraSettings.java
+++ b/packages/apps/Camera/src/com/android/camera/CameraSettings.java
@@ -420,7 +420,7 @@ public class CameraSettings {
}
public static int readPreferredCameraId(SharedPreferences pref) {
- return Integer.parseInt(pref.getString(KEY_CAMERA_ID, "0"));
+ return Integer.parseInt(pref.getString(KEY_CAMERA_ID, "1"));
}
--- a/packages/apps/Camera/res/values/strings.xml
+++ b/packages/apps/Camera/res/values/strings.xml
@@ -61,7 +61,7 @@
<!-- Settings screen, camera selection dialog title. Users can select a camera from the phone (front-
<string name="pref_camera_id_title">Choose camera</string>
- <string name="pref_camera_id_default" translatable="false">0</string>
+ <string name="pref_camera_id_default" translatable="false">1</string>
<!-- In select camera setting, back facing camera. [CHAR LIMIT=14] -->
<string name="pref_camera_id_entry_back">Back</string>