Merge "Disallow modifying USB in Settings"
This commit is contained in:
committed by
Android (Google) Code Review
commit
cbdfd8b3d7
@@ -135,7 +135,7 @@
|
||||
android:title="@string/debug_debugging_category"
|
||||
android:order="200">
|
||||
|
||||
<SwitchPreference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="enable_adb"
|
||||
android:title="@string/enable_adb"
|
||||
android:summary="@string/enable_adb_summary" />
|
||||
@@ -294,7 +294,7 @@
|
||||
android:title="@string/tethering_hardware_offload"
|
||||
android:summary="@string/tethering_hardware_offload_summary" />
|
||||
|
||||
<Preference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="default_usb_configuration"
|
||||
android:fragment="com.android.settings.connecteddevice.usb.UsbDefaultFragment"
|
||||
android:icon="@drawable/ic_usb"
|
||||
@@ -519,7 +519,7 @@
|
||||
android:title="@string/media_category"
|
||||
android:order="800">
|
||||
|
||||
<SwitchPreference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="usb_audio"
|
||||
android:title="@string/usb_audio_disable_routing"
|
||||
android:summary="@string/usb_audio_disable_routing_summary" />
|
||||
|
@@ -31,7 +31,7 @@
|
||||
settings:allowDividerAbove="true"
|
||||
settings:summaryLineCount="2"/>
|
||||
|
||||
<SwitchPreference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="usb_tether_settings"
|
||||
android:title="@string/usb_tethering_button_text"
|
||||
android:summary="@string/usb_tethering_subtext"
|
||||
|
Reference in New Issue
Block a user