summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-09-04 11:44:57 +0800
committerOwen Lin <owenlin@google.com>2012-09-04 11:44:57 +0800
commit0fb7f34668b317895b6be1d2e64d01601fb64c76 (patch)
tree67a7b5ddf8035ba45557242c2b4f0bf643a37d48 /gallerycommon/src/com/android
parentfcc407b4e5a6786c1d476c37d90ef9487508b95d (diff)
downloadandroid_packages_apps_Snap-0fb7f34668b317895b6be1d2e64d01601fb64c76.tar.gz
android_packages_apps_Snap-0fb7f34668b317895b6be1d2e64d01601fb64c76.tar.bz2
android_packages_apps_Snap-0fb7f34668b317895b6be1d2e64d01601fb64c76.zip
Set inMutable to true if we may reuse the bitmap.
bug: 7092330 Change-Id: I0def7e2e9ce57d09ba7f5e001b33cc605a6af44c
Diffstat (limited to 'gallerycommon/src/com/android')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/ApiHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
index 418e3cdd2..68aa50dda 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -151,6 +151,9 @@ public class ApiHelper {
public static final boolean HAS_CAMERA_HDR =
Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1;
+ public static final boolean HAS_OPTIONS_IN_MUTABLE =
+ Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
+
public static final boolean CAN_START_PREVIEW_IN_JPEG_CALLBACK =
Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;