Loading core/java/android/view/View.java +1 −0 Original line number Diff line number Diff line Loading @@ -28492,6 +28492,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, surface.destroy(); } session.kill(); surfaceControl.release(); } } services/core/java/com/android/server/wm/DragDropController.java +1 −2 Original line number Diff line number Diff line Loading @@ -469,8 +469,7 @@ class DragDropController { case MSG_REMOVE_DRAG_SURFACE_TIMEOUT: { synchronized (mService.mGlobalLock) { mService.mTransactionFactory.get() .reparent((SurfaceControl) msg.obj, null).apply(); mService.mTransactionFactory.get().remove((SurfaceControl) msg.obj).apply(); } break; } Loading services/core/java/com/android/server/wm/DragState.java +1 −1 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ class DragState { } if (mSurfaceControl != null) { if (!mRelinquishDragSurfaceToDropTarget && !relinquishDragSurfaceToDragSource()) { mTransaction.reparent(mSurfaceControl, null).apply(); mTransaction.remove(mSurfaceControl).apply(); } else { mDragDropController.sendTimeoutMessage(MSG_REMOVE_DRAG_SURFACE_TIMEOUT, mSurfaceControl, DragDropController.DRAG_TIMEOUT_MS); Loading Loading
core/java/android/view/View.java +1 −0 Original line number Diff line number Diff line Loading @@ -28492,6 +28492,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, surface.destroy(); } session.kill(); surfaceControl.release(); } }
services/core/java/com/android/server/wm/DragDropController.java +1 −2 Original line number Diff line number Diff line Loading @@ -469,8 +469,7 @@ class DragDropController { case MSG_REMOVE_DRAG_SURFACE_TIMEOUT: { synchronized (mService.mGlobalLock) { mService.mTransactionFactory.get() .reparent((SurfaceControl) msg.obj, null).apply(); mService.mTransactionFactory.get().remove((SurfaceControl) msg.obj).apply(); } break; } Loading
services/core/java/com/android/server/wm/DragState.java +1 −1 Original line number Diff line number Diff line Loading @@ -270,7 +270,7 @@ class DragState { } if (mSurfaceControl != null) { if (!mRelinquishDragSurfaceToDropTarget && !relinquishDragSurfaceToDragSource()) { mTransaction.reparent(mSurfaceControl, null).apply(); mTransaction.remove(mSurfaceControl).apply(); } else { mDragDropController.sendTimeoutMessage(MSG_REMOVE_DRAG_SURFACE_TIMEOUT, mSurfaceControl, DragDropController.DRAG_TIMEOUT_MS); Loading