Change default USB configuration to a RestrictedPreference

Test: manual with TestDPC and Settings
      DefaultUsbConfigurationPreferenceControllerTest
Bug: 201519976
     205996517
Change-Id: I1def7b37184d6d81f29a5e6e4793b92012dacd9b
This commit is contained in:
Alex Johnston
2022-03-03 14:30:44 +00:00
parent c0c6944e95
commit 4a75dc192c
3 changed files with 5 additions and 5 deletions

View File

@@ -297,7 +297,7 @@
android:title="@string/tethering_hardware_offload"
android:summary="@string/tethering_hardware_offload_summary" />
<com.android.settingslib.RestrictedSwitchPreference
<com.android.settingslib.RestrictedPreference
android:key="default_usb_configuration"
android:fragment="com.android.settings.connecteddevice.usb.UsbDefaultFragment"
android:title="@string/usb_default_label"/>