| commit | edc50ee0fcd01298aeb5ea87965abd1f7a685b22 | [log] [tgz] |
|---|---|---|
| author | Miriam Polzer <mpolzer@google.com> | Thu May 22 05:00:41 2025 -0700 |
| committer | Miriam Polzer <mpolzer@google.com> | Thu May 22 21:29:05 2025 -0700 |
| tree | 8b0065e80e205dc9d5df88b67d794e190ad5d597 | |
| parent | 881b8d64fb43a11a36cb077becdf80cb587bef2b [diff] |
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