Create a drag shadow surface in app process,
Previoulsy a drag shadow surface is created in the system process. App needs to call one more binder call (prepareDrag) to obtain the surface from the system process. The CL lets an app to create a drag shadow surface by itself. Then app transfer the surface to system server by using reparent API. Bug: 70818582 Test: com.android.server.wm.DragDropControllerTests, android.server.wm.CrossAppDragAndDropTests, manually check the drag and drop behavior on test app. Change-Id: I72796efffbefe78a802d7c441dea308d1cdea572
Loading
Please register or sign in to comment