mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
resolved conflicts for a8709ddb to ub-launcher3-master
Change-Id: I172395e6e172914627b6dec721070a66520557b1
This commit is contained in:
@@ -2064,6 +2064,7 @@ public class Workspace extends PagedView
|
||||
@Override
|
||||
public void onLauncherTransitionPrepare(Launcher l, boolean animated, boolean toWorkspace) {
|
||||
mIsSwitchingState = true;
|
||||
mTransitionProgress = 0;
|
||||
|
||||
// Invalidate here to ensure that the pages are rendered during the state change transition.
|
||||
invalidate();
|
||||
@@ -3574,11 +3575,6 @@ public class Workspace extends PagedView
|
||||
Resources res = mLauncher.getResources();
|
||||
final int duration = res.getInteger(R.integer.config_dropAnimMaxDuration) - 200;
|
||||
|
||||
// In the case where we've prebound the widget, we remove it from the DragLayer
|
||||
if (finalView instanceof AppWidgetHostView && external) {
|
||||
mLauncher.getDragLayer().removeView(finalView);
|
||||
}
|
||||
|
||||
boolean isWidget = info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET ||
|
||||
info.itemType == LauncherSettings.Favorites.ITEM_TYPE_CUSTOM_APPWIDGET;
|
||||
if ((animationType == ANIMATE_INTO_POSITION_AND_RESIZE || external) && finalView != null) {
|
||||
|
||||
Reference in New Issue
Block a user