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-21 18:46:32 -0700
commit4695e9e49e6b3b8239e31930643851f637902caf (patch)
treeafb734220cd772f4ad19e3e38a8aa154a3c44cf2
parentc092fdfc985acdee43073c7196f56758c6ee6fc0 (diff)
downloadandroid_packages_apps_Snap-4695e9e49e6b3b8239e31930643851f637902caf.zip
android_packages_apps_Snap-4695e9e49e6b3b8239e31930643851f637902caf.tar.gz
android_packages_apps_Snap-4695e9e49e6b3b8239e31930643851f637902caf.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;