a1fb9be437b672f52ad64e1506038757ec060dcf |
|
18-Dec-2017 |
Daichi Hirono <hirono@google.com> |
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
/frameworks/base/core/java/android/view/SurfaceControl.aidl
|