summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-03-18 15:21:03 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-25 21:55:20 -0700
commitb0b89fc2e74b518586d43a3023cde7dd33960ff7 (patch)
tree06d30af966511b138f0f13e606f2bf07802e12ed
parent209f6c9ca736a21401dd31f662a0169b692b1000 (diff)
downloadandroid_packages_apps_Snap-b0b89fc2e74b518586d43a3023cde7dd33960ff7.zip
android_packages_apps_Snap-b0b89fc2e74b518586d43a3023cde7dd33960ff7.tar.gz
android_packages_apps_Snap-b0b89fc2e74b518586d43a3023cde7dd33960ff7.tar.bz2
SnapdragonCamera: Remove accessing to dialog strings
Accessing to translatable strings can lead to unexpected behavior when non-English is selected as system language. Making change to remove any accessing to translatable strings. Change-Id: I687abdff984bf0e5680c34861fac8c1271b88ead CRs-Fixed: 993382
-rw-r--r--src/com/android/camera/PhotoModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java
index f8e5981..6ec88ff 100644
--- a/src/com/android/camera/PhotoModule.java
+++ b/src/com/android/camera/PhotoModule.java
@@ -1936,9 +1936,9 @@ public class PhotoModule
flashMode = Parameters.FLASH_MODE_OFF;
focusMode = Parameters.FOCUS_MODE_INFINITY;
redeyeReduction = mActivity.getString(R.string.
- pref_camera_redeyereduction_entry_disable);
+ pref_camera_redeyereduction_default);
aeBracketing = mActivity.getString(R.string.
- pref_camera_ae_bracket_hdr_entry_off);
+ pref_camera_ae_bracket_hdr_default);
colorEffect = mActivity.getString(R.string.
pref_camera_coloreffect_default);
exposureCompensation = CameraSettings.EXPOSURE_DEFAULT_VALUE;