Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1821c5a0 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Let prepareDrag return error when 0 size drag shadow is specified.

Since ag/2837472, creating 0 size surface resulted in raising an
exception. To avoid it, the CL lets prepareDrag return error.

Bug: 70393408
Test: com.android.server.wm.DragDropControllerTests,
      android.server.wm.CrossAppDragAndDropTests,
      manually check the drag and drop behavior on test app.

Change-Id: Ie0c477dd9e76dd5ec8b7aed6a472e24032777cc8
parent 663e9a77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment