summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-07-05 17:06:56 +0800
committerOwen Lin <owenlin@google.com>2012-07-05 17:06:56 +0800
commitb98ecd613b64dff8b025ba14fc017ed6ccb191ab (patch)
tree0aa78a8f87e9e9c6190f1d2861b3704a4fceae31 /gallerycommon/src/com/android/gallery3d/common
parent4de3fa9d07bc7a8fdf8089a26badf38d8d2d8a3a (diff)
downloadandroid_packages_apps_Snap-b98ecd613b64dff8b025ba14fc017ed6ccb191ab.tar.gz
android_packages_apps_Snap-b98ecd613b64dff8b025ba14fc017ed6ccb191ab.tar.bz2
android_packages_apps_Snap-b98ecd613b64dff8b025ba14fc017ed6ccb191ab.zip
Don't test the EXTRA_LOCAL_ONLY before HC.
Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-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 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);