Update TARE UI.

1. Connect the UI and controller components so that users can make
   changes and the changes will be written to settings and properly read
   back.
2. Update string constants to reflect changes from TIP1.
3. Refactor components slightly to reduce duplicate code.
4. Hide unsupported factors for now. They'll be added back later.

Bug: 158300259
Test: Manually change factors and check settings constant via adb
Change-Id: I2b70e7013c4766ea50f1f013da582eca74015c6b
This commit is contained in:
Kweku Adams
2022-02-23 17:10:13 +00:00
parent 78d917cc14
commit 2d12b846d4
6 changed files with 418 additions and 266 deletions

View File

@@ -43,7 +43,6 @@ public class DropdownActivity extends Activity {
static final int POLICY_JOB_SCHEDULER = 1;
private static final int DEFAULT_POLICY = POLICY_ALARM_MANAGER;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);