Introduce MockLocationAppPreferenceController

- Create new MockLocationAppPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I0c306aadfbe9f10b143c63429061a7c0c244361a
This commit is contained in:
jeffreyhuang
2017-10-03 18:02:49 -07:00
parent 42f5c71ec3
commit 843b4d7d0d
4 changed files with 352 additions and 1 deletions

View File

@@ -23,4 +23,6 @@ public interface DevelopmentOptionsActivityRequestCodes {
int REQUEST_CODE_ENABLE_OEM_UNLOCK = 0;
int REQUEST_CODE_DEBUG_APP = 1;
int REQUEST_MOCK_LOCATION_APP = 2;
}