[Settings] Code refactor for device without SIM
Code refactor to hide some UI entries, since there's a BluetoothWiFiPreferenceController covers some of the work for device without SIM. Bug: 259611847 Test: local & auto Change-Id: Ia221663e180c8dabed2a25a927643c992ef8ac89
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
android:title="@string/reset_network_title"
|
||||
settings:userRestriction="no_network_reset"
|
||||
settings:useAdminDisabledSummary="true"
|
||||
settings:isPreferenceVisible="@bool/config_show_sim_info"
|
||||
android:fragment="com.android.settings.ResetNetwork" />
|
||||
|
||||
<!-- Bluetooth and WiFi reset -->
|
||||
|
Reference in New Issue
Block a user