diff options
| author | 2022-04-12 11:43:57 +0100 | |
|---|---|---|
| committer | 2022-04-12 12:15:27 +0100 | |
| commit | 4eefc3152cb95a09e82e7a9952a919b506b72a34 (patch) | |
| tree | bd16d1002ec9a3feacd87f8ba078d4bfb719f643 /libs/input/PointerController.cpp | |
| parent | 118e6bacdb7783fa38d7be1bd8c2ec498d06ace3 (diff) | |
Fix DPMS unit tests.
Currently these tests fail because of an attempt to register the same
service more than once in a static map, which leads to an exception.
Make DevicePolicyManagerTestable unregister them before constructing
DPMS, so that it doesn't have to be done in every test.
Bug: 228842216
Test: atest com.android.server.devicepolicy
Change-Id: I43d10193779edf7909d77863f13ecdccfa383473
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions