commit | da0748d00c645225317ed2656b8b3b0561aaaf4c | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Wed Dec 13 12:48:59 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Tue Jan 09 13:37:37 2018 +0900 |
tree | a7d8da6c88d42677c4e2def3b70ddf1e8f9ff34e | |
parent | 01b645072c6a8f18bf0ba677226f5f235280c25d [diff] |
Fix NPE occured when null ClipData is passed to startDrag. Previously we have NPE for the following cases: * when specifying both DRAG_FLAG_GLOBAL and DRAG_FLAGS_URI_ACCESS, OR * when the userIds of source and target apps are different Bug: 70477060 Test: com.android.server.wm.DragDropControllerTests, android.server.wm.CrossAppDragAndDropTests, manually check the drag and drop behavior on test app. Change-Id: I454b434e4466cb159ce23e0982012cdb21c9d002