Create RestrictedDashboardFragment.

RestrictedDashboardFragment has all the same logic coming from
RestrcitedSettingsFragment but extends from DashboardFragment.
As a result, we could use preferenceController in child class of
RestrictedDashboardFragment.

This cl also make DeviceListPreferenceFragment as child of
RestrictedDashboardFragment, which enfluences the bluetooth page.

Bug: 38041586
Test: Build
Change-Id: I01395d506176c5cc584948478f7ca16c1c7c7045
This commit is contained in:
jackqdyulei
2017-05-05 16:07:48 -07:00
parent 910f69c62a
commit e407e67a3b
6 changed files with 303 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
com.android.settings.bluetooth.DevicePickerFragment
com.android.settings.language.LanguageAndRegionSettings
com.android.settings.notification.ZenModePrioritySettings
com.android.settings.accounts.AccountDetailDashboardFragment