Introduce SelectDebugAppPreferenceController

- Create new SelectDebugAppPreferenceController
 - Update onActivityResult to loop through all controllers
 - Add new activity request code
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I90b1da2d536389e45d717adffb3b190ec13b9a2a
This commit is contained in:
jeffreyhuang
2017-09-22 13:28:29 -07:00
parent 8caf1ff929
commit 9d6f5d6f1d
4 changed files with 290 additions and 7 deletions

View File

@@ -21,4 +21,6 @@ package com.android.settings.development;
*/
public interface DevelopmentOptionsActivityRequestCodes {
int REQUEST_CODE_ENABLE_OEM_UNLOCK = 0;
int REQUEST_CODE_DEBUG_APP = 1;
}