diff options
author | George Mount <mount@google.com> | 2012-11-16 15:44:26 -0800 |
---|---|---|
committer | George Mount <mount@google.com> | 2012-12-05 11:18:20 -0800 |
commit | 80f7fdb406cb98e3029a214d86973768c9f02470 (patch) | |
tree | efe6363502bd91fef423ec1e5230701f2245d08b /gallerycommon/src/com/android | |
parent | 4523405aae7df882bf579cd0257335e3ba267258 (diff) | |
download | android_packages_apps_Snap-80f7fdb406cb98e3029a214d86973768c9f02470.tar.gz android_packages_apps_Snap-80f7fdb406cb98e3029a214d86973768c9f02470.tar.bz2 android_packages_apps_Snap-80f7fdb406cb98e3029a214d86973768c9f02470.zip |
Add GLES20 canvas implementation.
Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
Diffstat (limited to 'gallerycommon/src/com/android')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 |
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 e0432749e..56adcb1e9 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 { |