First pass at USB-only tether settings.
bug:2281900
This commit is contained in:
35
res/xml/tether_prefs.xml
Normal file
35
res/xml/tether_prefs.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2008 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/tether_screen_title">
|
||||
|
||||
<PreferenceScreen
|
||||
android:key="usb_tether_settings"
|
||||
android:title="@string/usb_tethering_button_text"
|
||||
android:widgetLayout="@*android:layout/preference_dialog" >
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="android"
|
||||
android:targetClass="com.android.internal.app.TetherActivity" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="enable_tether_notice"
|
||||
android:title="@string/enable_tether_notice_checkbox"
|
||||
android:summary="@string/enable_tether_notice_checkbox_summary"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -56,6 +56,15 @@
|
||||
android:targetClass="com.android.settings.bluetooth.BluetoothSettings" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
android:title="@string/tether_settings_title"
|
||||
android:summary="@string/tether_settings_summary">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.android.settings"
|
||||
android:targetClass="com.android.settings.TetherSettings" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
android:key="vpn_settings"
|
||||
android:title="@string/vpn_settings_title"
|
||||
|
||||
Reference in New Issue
Block a user