summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-11-20 12:08:37 +0800
committerdianlujitao <dianlujitao@lineageos.org>2019-11-21 23:38:26 +0800
commit4fbfaff93c9abd0825453c7b91c1528a38bd4564 (patch)
tree4b0c4b081cbf358259a55e9611317537c58eb488
parent8481d34d0ac0027703343baf9e5411e663b48235 (diff)
downloadandroid_packages_apps_Snap-4fbfaff93c9abd0825453c7b91c1528a38bd4564.zip
android_packages_apps_Snap-4fbfaff93c9abd0825453c7b91c1528a38bd4564.tar.gz
android_packages_apps_Snap-4fbfaff93c9abd0825453c7b91c1528a38bd4564.tar.bz2
Snap: Don't remove scene modes!
This partially reverts commit 8acb462b46c930bf6f6c6192012a11f2e127ecc4. Change-Id: I5864924938189b17efa9a496912a51b9c2b233c1
-rwxr-xr-xsrc/com/android/camera/SettingsManager.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/android/camera/SettingsManager.java b/src/com/android/camera/SettingsManager.java
index b3cf50e..96283eb 100755
--- a/src/com/android/camera/SettingsManager.java
+++ b/src/com/android/camera/SettingsManager.java
@@ -98,7 +98,6 @@ public class SettingsManager implements ListMenu.SettingsListener {
public static final int SCENE_MODE_AUTO_INT = 0;
public static final int SCENE_MODE_NIGHT_INT = 5;
- public static final int SCENE_MODE_HDR_INT = 18;
public static final int TALOS_SOCID = 355;
public static final int MOOREA_SOCID = 365;
@@ -1838,10 +1837,7 @@ public class SettingsManager implements ListMenu.SettingsListener {
if (DeepPortraitFilter.isSupportedStatic()) modes.add(SCENE_MODE_DEEPPORTRAIT_INT+"");
modes.add("" + SCENE_MODE_PROMODE_INT);
for (int mode : sceneModes) {
- //remove scene mode like "Sunset", "Night" such as, only keep "HDR" mode 1889
- if (mode == SCENE_MODE_HDR_INT) {
- modes.add("" + mode);
- }
+ modes.add("" + mode);
}
return modes;
}