From b98ecd613b64dff8b025ba14fc017ed6ccb191ab Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Thu, 5 Jul 2012 17:06:56 +0800 Subject: Don't test the EXTRA_LOCAL_ONLY before HC. Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d --- gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 +++ 1 file changed, 3 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 06518108b..20098e4b4 100644 --- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java +++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java @@ -67,6 +67,9 @@ public class ApiHelper { public static final boolean HAS_REMOTE_VIEWS_SERVICE = Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + public static final boolean HAS_INTENT_EXTRA_LOCAL_ONLY = + Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + private static boolean hasField(Class klass, String fieldName) { try { klass.getDeclaredField(fieldName); -- cgit v1.2.3