summaryrefslogtreecommitdiffstats
path: root/gallerycommon
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-11-16 15:44:26 -0800
committerGeorge Mount <mount@google.com>2012-12-05 11:18:20 -0800
commit837007c09f723dd96cd8e99476de242c633759c2 (patch)
tree67e41902c33cc95b21f2a9cdc77899b0e2ba5221 /gallerycommon
parent8d26578f8db895dadb7e0e1d7a56c00fa18183ec (diff)
downloadandroid_packages_apps_Snap-837007c09f723dd96cd8e99476de242c633759c2.zip
android_packages_apps_Snap-837007c09f723dd96cd8e99476de242c633759c2.tar.gz
android_packages_apps_Snap-837007c09f723dd96cd8e99476de242c633759c2.tar.bz2
Add GLES20 canvas implementation.
Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
Diffstat (limited to 'gallerycommon')
-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 e043274..56adcb1 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -176,6 +176,9 @@ public class ApiHelper {
public static final boolean HAS_OBJECT_ANIMATION =
Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
+ public static final boolean HAS_GLES20_REQUIRED =
+ Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
+
public static int getIntFieldIfExists(Class<?> klass, String fieldName,
Class<?> obj, int defaultVal) {
try {