summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Naidis <alex.naidis@linux.com>2017-04-28 18:49:15 +0200
committerArne Coucheron <arco68@gmail.com>2018-01-27 00:41:43 +0100
commitac6e035a4061c4e1b739696d995c454e5d90caaa (patch)
treeec6eea48b68d13fba4926b8a21309c3cef3428f2
parent35655fcf654cc5e2f577a37f28c5083ccd3dd076 (diff)
downloadandroid_packages_apps_Snap-ac6e035a4061c4e1b739696d995c454e5d90caaa.zip
android_packages_apps_Snap-ac6e035a4061c4e1b739696d995c454e5d90caaa.tar.gz
android_packages_apps_Snap-ac6e035a4061c4e1b739696d995c454e5d90caaa.tar.bz2
SnapdragonCamera: Add missing toast on HSR/HFR override
Add in a missing toast to warn a user when the wanted HSR/HFR mode gets overriden due to the incompatibility with image stabilization. Change-Id: Ib81c50e8fad0bca075e6b33399321da42d77eb03 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
-rw-r--r--src/com/android/camera/VideoMenu.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoMenu.java b/src/com/android/camera/VideoMenu.java
index 418dbbe..1caa138 100644
--- a/src/com/android/camera/VideoMenu.java
+++ b/src/com/android/camera/VideoMenu.java
@@ -808,6 +808,8 @@ public class VideoMenu extends MenuController
|| !videoHDR.equals("off")
|| timeLapseInterval != 0) {
mListMenu.setPreferenceEnabled(CameraSettings.KEY_VIDEO_HIGH_FRAME_RATE, false);
+ RotateTextToast.makeText(mActivity, R.string.error_app_unsupported_hfr_selection,
+ Toast.LENGTH_LONG).show();
}
}