summaryrefslogtreecommitdiffstats
path: root/gallerycommon
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2013-03-07 14:15:57 -0800
committerBobby Georgescu <georgescu@google.com>2013-03-08 15:41:15 -0800
commit755e327f63197c2798394bc805df8d98c2f6b6d3 (patch)
tree83ae5950aa2b35fe38fee84795d0a038fada6be8 /gallerycommon
parent0d84f476ed24922864f39d54e09274f6feac085e (diff)
downloadandroid_packages_apps_Snap-755e327f63197c2798394bc805df8d98c2f6b6d3.tar.gz
android_packages_apps_Snap-755e327f63197c2798394bc805df8d98c2f6b6d3.tar.bz2
android_packages_apps_Snap-755e327f63197c2798394bc805df8d98c2f6b6d3.zip
Add sharing support
Change-Id: I2c7f18b0d6dd057c1fba96c1133d563f32abf55c
Diffstat (limited to 'gallerycommon')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/ApiHelper.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
index 4200ec75e..13d48fd2c 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -39,6 +39,8 @@ public class ApiHelper {
public static final int JELLY_BEAN_MR1 = 17;
}
+ public static final boolean AT_LEAST_16 = Build.VERSION.SDK_INT >= 16;
+
public static final boolean USE_888_PIXEL_FORMAT =
Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;