Merge "Attempt to fix crash on workspace drag and drop on certain JB devices" into ub-now-mister-ugly
This commit is contained in:
@@ -736,7 +736,13 @@ public class DragLayer extends FrameLayout implements ViewGroup.OnHierarchyChang
|
||||
mDropAnim.cancel();
|
||||
}
|
||||
if (mDropView != null) {
|
||||
mDragController.onDeferredEndDrag(mDropView);
|
||||
final DragView dropView = mDropView;
|
||||
post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mDragController.onDeferredEndDrag(dropView);
|
||||
}
|
||||
});
|
||||
}
|
||||
mDropView = null;
|
||||
invalidate();
|
||||
|
||||
Reference in New Issue
Block a user