Job Scheduler TARE page implementation

A Job Scheduler policy page is needed in the TARE developer options
settings to allow developers to both view and edit the current values of
all the factors under the job scheduler policy. The page uses a dropdown
so that the user can easily switch between the different policies. For
the factors with subfactors, the user simply clicks on the factor and
the subfactors wil pop up under it.

Bug: 191877052

Test: Manual (open Settings > System > Developer Options > TARE >
JobScheduler and verify all factors are there)

Change-Id: Icea6cda5e4b59d1736f85defcb9532839c3720f5
This commit is contained in:
alinasuarez
2021-07-26 21:04:16 +00:00
parent 32ef854a8d
commit 8073d4eb92
6 changed files with 261 additions and 6 deletions

View File

@@ -82,7 +82,7 @@ public class AlarmManagerFragment extends Fragment {
{},
mResources.getStringArray(R.array.tare_min_satiated_balance_subfactors),
mResources.getStringArray(R.array.tare_modifiers_subfactors),
mResources.getStringArray(R.array.tare_actions_subfactors),
mResources.getStringArray(R.array.tare_alarm_manager_actions),
mResources.getStringArray(R.array.tare_rewards_subfactors)
};