summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorVasantha Balla <vballa@codeaurora.org>2013-10-07 15:29:52 +0530
committerLinux Build Service Account <lnxbuild@localhost>2014-11-04 08:23:13 -0700
commit07a1c98abfa8f4816cfa66efa06bf331d99e65ee (patch)
tree8236647e994035033e7ce52dfb17082e4c906f44 /res
parentd73fd7eb45f643c98c40279d6a096de56f39260c (diff)
downloadandroid_packages_apps_Gallery2-07a1c98abfa8f4816cfa66efa06bf331d99e65ee.tar.gz
android_packages_apps_Gallery2-07a1c98abfa8f4816cfa66efa06bf331d99e65ee.tar.bz2
android_packages_apps_Gallery2-07a1c98abfa8f4816cfa66efa06bf331d99e65ee.zip
Gallery2: Fix crash for unsupported format on mute operation
MPEG4Writer does not support formats other than mp4/h264/h263. The app needs to check for unsupported formats before starting any mute operation. Add a condition in the app to check for unsupported formats and display a toast message. CRs-Fixed: 514347 696137 Change-Id: Ib2ce48d2b8ebaef80936bc7a446e1c97e3a10c31
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 570014e3e..13027efd7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -522,6 +522,9 @@
<!-- Toast if the trimmed video is too short to trim. [CHAR LIMIT=80] -->
<string name="trim_too_short">Can not trim : target video is too short</string>
+ <!-- Toast if the muted video is not supported. [CHAR LIMIT=80] -->
+ <string name="mute_nosupport">Can not mute : not supported video</string>
+
<!-- Text to show with progress bar while stitching in Gallery -->
<string name="pano_progress_text">Rendering panorama</string>