Merge "[wm]: Fixed TaskPositioner leak" into qt-dev
am: 050d6df74c
Change-Id: Ife9c5d5da6fae4d40183a6a56a71165001bf6674
This commit is contained in:
@@ -254,6 +254,8 @@ interface IWindowSession {
|
||||
*/
|
||||
boolean startMovingTask(IWindow window, float startX, float startY);
|
||||
|
||||
void finishMovingTask(IWindow window);
|
||||
|
||||
void updatePointerIcon(IWindow window);
|
||||
|
||||
/**
|
||||
|
||||
@@ -25519,6 +25519,21 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Finish a window move task.
|
||||
* @hide
|
||||
*/
|
||||
public void finishMovingTask() {
|
||||
if (ViewDebug.DEBUG_POSITIONING) {
|
||||
Log.d(VIEW_LOG_TAG, "finishMovingTask");
|
||||
}
|
||||
try {
|
||||
mAttachInfo.mSession.finishMovingTask(mAttachInfo.mWindow);
|
||||
} catch (RemoteException e) {
|
||||
Log.e(VIEW_LOG_TAG, "Unable to finish moving", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles drag events sent by the system following a call to
|
||||
* {@link android.view.View#startDragAndDrop(ClipData,DragShadowBuilder,Object,int)
|
||||
|
||||
Reference in New Issue
Block a user