summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Utilities.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2015-07-08 01:59:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-08 01:59:57 +0000
commitd98fff30552e7e8cff1205926001cbac7d7e9a35 (patch)
tree3e71bf5533ae556f5956bf755d4172c873597a07 /src/com/android/launcher3/Utilities.java
parent3288171507ae38bce261dcf94cfae08392d961c2 (diff)
parent947e02b638c7947c6c97943041d7153edb7b562e (diff)
downloadandroid_packages_apps_Trebuchet-d98fff30552e7e8cff1205926001cbac7d7e9a35.tar.gz
android_packages_apps_Trebuchet-d98fff30552e7e8cff1205926001cbac7d7e9a35.tar.bz2
android_packages_apps_Trebuchet-d98fff30552e7e8cff1205926001cbac7d7e9a35.zip
Merge "Adding custom slide up activity transition for L MR1" into ub-launcher3-burnaby
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r--src/com/android/launcher3/Utilities.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index 8f4f0f9a1..8fd298df7 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -122,6 +122,11 @@ public final class Utilities {
return Build.VERSION.SDK_INT >= 22;
}
+ public static boolean isLmpMR1() {
+ // TODO(adamcohen): update to Build.VERSION_CODES.LOLLIPOP_MR1 once building against 22;
+ return Build.VERSION.SDK_INT == 22;
+ }
+
public static Bitmap createIconBitmap(Cursor c, int iconIndex, Context context) {
byte[] data = c.getBlob(iconIndex);
try {