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

Skip to content
Commit 44e8739b authored by Kweku Adams's avatar Kweku Adams
Browse files

Allow users to set custom Doze settings.

Partially undo I7fff451b641eee43a13e77df7b40db5b3af16d58.
Allow users to customize Doze parameters as they used to be able to do
before.
Also pull out related logic into a tested helper class.

Bug: 305056706
Test: atest CtsBatterySavingTestCases
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/tare
Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest
Test: atest FrameworksServicesTests:BatterySaverPolicyTest
Test: atest FrameworksServicesTests:UserSettingDeviceConfigMediatorTest
Test: atest SettingsProviderTest:SettingsBackupTest
Change-Id: Ieda9ee354b1dde01fed186f19e8ed957b2bbfe00
parent 4ae4c388
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment