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

Commit edc50ee0 authored by Miriam Polzer's avatar Miriam Polzer
Browse files

Remove static Environment dependency from DPE

DPE was reading the policy folder from the static Environment.

There already is class that wraps the logic for folders, use that one
instead. Following DRY and making dependencies visible like this makes
the code a bit easier to test and change.

Test: atest FrameworksServicesTests_devicepolicy
Test: atest CtsDevicePolicyTestCases
Bug: 416180519
Flag: EXEMPT refactoring
Change-Id: If194581f1b71716b2e7b86c28c2594848c2c804b
parent 881b8d64
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