Fixing subtle animation jank when dropping icon on adjacent page
-> The old path of the icon wasn't correct from a motion standpoint Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
This commit is contained in:
@@ -2287,10 +2287,8 @@ public class Workspace extends SmoothPagedView
|
||||
mAnimatingViewIntoPlace = true;
|
||||
if (d.dragView.hasDrawn()) {
|
||||
int duration = snapScreen < 0 ? -1 : ADJACENT_SCREEN_DROP_DURATION;
|
||||
setFinalScrollForPageChange(snapScreen);
|
||||
mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, cell, duration,
|
||||
disableHardwareLayersRunnable);
|
||||
resetFinalScrollForPageChange(snapScreen);
|
||||
disableHardwareLayersRunnable, this);
|
||||
} else {
|
||||
cell.setVisibility(VISIBLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user