From: Wu-cheng Li Date: Wed, 29 Aug 2012 06:41:42 +0000 (+0800) Subject: Old panorama only supports ICS and forward. X-Git-Tag: android-x86-7.1-r1~1891 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e44b08e727a9df677b6969ff921a2392e865e8dc;p=android-x86%2Fpackages-apps-Gallery2.git Old panorama only supports ICS and forward. bug:7075249 Change-Id: I0b5884459a417444966ac88284056a182104a68b --- diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java index 402424123..ca778365c 100644 --- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java +++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java @@ -106,8 +106,8 @@ public class ApiHelper { public static final boolean HAS_MEDIA_ACTION_SOUND = Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN; - public static final boolean HAS_PANORAMA = - Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + public static final boolean HAS_OLD_PANORAMA = + Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH; public static final boolean HAS_TIME_LAPSE_RECORDING = Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;