Changing min sdk to 25

Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
This commit is contained in:
Sunny Goyal
2019-01-25 15:10:18 -08:00
parent 9752705e92
commit 8c48d8bea6
55 changed files with 283 additions and 753 deletions

View File

@@ -174,8 +174,7 @@ public abstract class BaseDraggingActivity extends BaseActivity
intent.setSourceBounds(getViewBounds(v));
}
try {
boolean isShortcut = Utilities.ATLEAST_MARSHMALLOW
&& (item instanceof ShortcutInfo)
boolean isShortcut = (item instanceof ShortcutInfo)
&& (item.itemType == Favorites.ITEM_TYPE_SHORTCUT
|| item.itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT)
&& !((ShortcutInfo) item).isPromise();