From 755e327f63197c2798394bc805df8d98c2f6b6d3 Mon Sep 17 00:00:00 2001 From: Bobby Georgescu Date: Thu, 7 Mar 2013 14:15:57 -0800 Subject: Add sharing support Change-Id: I2c7f18b0d6dd057c1fba96c1133d563f32abf55c --- gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gallerycommon/src/com/android') 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; -- cgit v1.2.3