diff options
author | Daichi Hirono <hirono@google.com> | 2017-12-13 12:48:59 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2018-01-09 13:37:37 +0900 |
commit | da0748d00c645225317ed2656b8b3b0561aaaf4c (patch) | |
tree | a7d8da6c88d42677c4e2def3b70ddf1e8f9ff34e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions