summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-09-04 00:29:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-04 00:29:12 -0700
commitf88808169c995219ba9651df8c52161b56d2fedb (patch)
treea8e0a938ef492b990df8725a277248e6e116df25 /gallerycommon/src/com/android
parent25d33864d28f6acf25d2e835a85bf04a9a22f57e (diff)
parentd01a96e278ea96ee6ee43b37e60c4d37a8959e95 (diff)
downloadandroid_packages_apps_Snap-f88808169c995219ba9651df8c52161b56d2fedb.tar.gz
android_packages_apps_Snap-f88808169c995219ba9651df8c52161b56d2fedb.tar.bz2
android_packages_apps_Snap-f88808169c995219ba9651df8c52161b56d2fedb.zip
Merge "Set inMutable to true if we may reuse the bitmap." into gb-ub-photos-arches
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;