commit | 01b645072c6a8f18bf0ba677226f5f235280c25d | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Fri Dec 15 09:49:18 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Tue Jan 09 13:37:37 2018 +0900 |
tree | e9240cd32d8baddf4fef3d2fe490fe5c80595893 | |
parent | 0be794a14c212d53b702844f500003ffd85e5ade [diff] |
Use LocalService to access UserManagerServcie from DragState. It allows us to replace UserManagerServcie with a mock when writing tests for DragState. Bug: 70601660 Test: com.android.server.wm.DragDropControllerTests, android.server.wm.CrossAppDragAndDropTests, manually check the drag and drop behavior on test app. Change-Id: I2db9cbe1e1b3542ecd7d60b26fc0e7b322041eb4