diff options
| author | 2025-01-27 17:42:21 +0000 | |
|---|---|---|
| committer | 2025-01-27 17:42:21 +0000 | |
| commit | efe5035cc2f4d05089becbca3ad168e0e89ef58b (patch) | |
| tree | 687bdaa35620d69c517c684c2a0541ba08b74c69 /api/coverage/tools | |
| parent | 91dae88c0b91f1a8daa213a8212f2b1ab5ad7551 (diff) | |
Fix injection of local services in SupervisionService.
Before, we're trying to inject them in the constructor, resulting in a null instance of DevicePolicyManagerInternal in most cases. To solve this, I decided to adopt the Injector pattern that is used in other services.
FLAG: android.app.supervision.flags.enable_sync_with_dpm
Test: atest SupervisionServiceTest
Bug: 358134581
Change-Id: Ibb97665a9f7201941a330e70df7e4cb0f637d9ee
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions