commit | 7a5d007aad1bb7b3e11f2165e5280f7662739ee0 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Mon Oct 30 10:07:24 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Tue Nov 07 14:24:24 2017 +0900 |
tree | 7dbb8b5bcbf7ebf8972d2105c475ae6043e9a998 | |
parent | 5647b92d234c5ef40a04c917037cf91b266d060d [diff] |
Introduce write lock for mDragState We are going to introduce the drag drop callback however we would not like to keep holding the window manager lock while invoking the callback. The CL introduce separated write lock for mDragState which we can hold while invoking the upcoming drag and drop callback. Bug: 65564090 Test: android.server.wm.CrossAppDragAndDropTests, manually check the drag and drop behavior on test app. Change-Id: Icb6484784097bc93c5aa1154c71324aa5353620c