Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit efe5035c authored by Vitor Carvalho's avatar Vitor Carvalho
Browse files

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
parent 91dae88c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment