Introduce boolean flag to show/hide Reset Options.
This adds one new flag:
config_show_reset_dashboard
Which when set to false, will hide Reset Options from System settings.
Bug: 74127210
Test: Updated robotests
Change-Id: I42b14a0abde575f5c4e51985125e8543716d206a
(cherry picked from commit bd180a62ec)
This commit is contained in:
@@ -46,7 +46,8 @@
|
||||
android:summary="@string/reset_dashboard_summary"
|
||||
android:icon="@drawable/ic_restore"
|
||||
android:order="-50"
|
||||
android:fragment="com.android.settings.system.ResetDashboardFragment" />
|
||||
android:fragment="com.android.settings.system.ResetDashboardFragment"
|
||||
settings:controller="com.android.settings.system.ResetPreferenceController"/>
|
||||
|
||||
<!-- System updates -->
|
||||
<Preference
|
||||
|
||||
Reference in New Issue
Block a user