diff options
author | Bobby Georgescu <georgescu@google.com> | 2013-03-07 14:15:57 -0800 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2013-03-08 15:41:15 -0800 |
commit | 8f69397b9c6acf6da28244a8ccea596546f34f87 (patch) | |
tree | 27fbfb2c6a68f6903da180463486260f8da052fa /gallerycommon/src | |
parent | 6afdb1769adddaf94116a7d1cad82740a9455641 (diff) | |
download | android_packages_apps_Snap-8f69397b9c6acf6da28244a8ccea596546f34f87.tar.gz android_packages_apps_Snap-8f69397b9c6acf6da28244a8ccea596546f34f87.tar.bz2 android_packages_apps_Snap-8f69397b9c6acf6da28244a8ccea596546f34f87.zip |
Add sharing support
Change-Id: I2c7f18b0d6dd057c1fba96c1133d563f32abf55c
Diffstat (limited to 'gallerycommon/src')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 2 |
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; |