Merge "Adding custom slide up activity transition for L MR1" into ub-launcher3-burnaby

This commit is contained in:
Adam Cohen authored and Android (Google) Code Review committed 2015-07-08 01:59:57 +00:00
commit d98fff3055
3 files changed
+30

No files matched your search

+5
View File
@@ -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 {