Fork a new developer options page.

- Create a new activity/fragment and add it to manifest
- Mark old activity/fragment deprecated
- Enable/disable the new activity based on FeatureFlag
- Initial skeleton code for new fragment

Bug: 65522852
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=DevelopmentSettingsDashboardFragmentTest
Change-Id: Ib1395693f8b6f61d4726573a9ea841ea53cf207b
This commit is contained in:
Fan Zhang
2017-09-08 15:29:54 -07:00
parent 89f57048a0
commit 4c26da9e13
10 changed files with 307 additions and 4 deletions

View File

@@ -109,7 +109,9 @@ import java.util.List;
/*
* Displays preferences for application developers.
* @deprecated in favor of {@link DevelopmentSettingsDashboardFragment}
*/
@Deprecated
public class DevelopmentSettings extends RestrictedSettingsFragment
implements DialogInterface.OnClickListener, DialogInterface.OnDismissListener,
OnPreferenceChangeListener, SwitchBar.OnSwitchChangeListener, Indexable {