diff --git a/res/xml/all_tether_prefs.xml b/res/xml/all_tether_prefs.xml index 84d5d2ac173..0aee621b7f7 100644 --- a/res/xml/all_tether_prefs.xml +++ b/res/xml/all_tether_prefs.xml @@ -41,16 +41,16 @@ android:title="@string/wifi_hotspot_auto_off_title" android:summary="@string/wifi_hotspot_auto_off_summary"/> + + - - + + - - diff --git a/src/com/android/settings/AllInOneTetherSettings.java b/src/com/android/settings/AllInOneTetherSettings.java index 1cf68a0a227..ed3b5b071c6 100644 --- a/src/com/android/settings/AllInOneTetherSettings.java +++ b/src/com/android/settings/AllInOneTetherSettings.java @@ -98,9 +98,9 @@ public class AllInOneTetherSettings extends RestrictedDashboardFragment public static final String ETHERNET_TETHER_KEY = "enable_ethernet_tethering" + DEDUP_POSTFIX; @VisibleForTesting - static final int EXPANDED_CHILD_COUNT_DEFAULT = 3; + static final int EXPANDED_CHILD_COUNT_DEFAULT = 4; @VisibleForTesting - static final int EXPANDED_CHILD_COUNT_WITH_SECURITY_NON = 2; + static final int EXPANDED_CHILD_COUNT_WITH_SECURITY_NON = 3; @VisibleForTesting static final int EXPANDED_CHILD_COUNT_MAX = Integer.MAX_VALUE; private static final String TAG = "AllInOneTetherSettings"; diff --git a/src/com/android/settings/wifi/tether/WifiTetherSettings.java b/src/com/android/settings/wifi/tether/WifiTetherSettings.java index 316060996a1..9e682021a00 100644 --- a/src/com/android/settings/wifi/tether/WifiTetherSettings.java +++ b/src/com/android/settings/wifi/tether/WifiTetherSettings.java @@ -54,8 +54,8 @@ public class WifiTetherSettings extends RestrictedDashboardFragment private static final String TAG = "WifiTetherSettings"; private static final IntentFilter TETHER_STATE_CHANGE_FILTER; private static final String KEY_WIFI_TETHER_SCREEN = "wifi_tether_settings_screen"; - private static final int EXPANDED_CHILD_COUNT_WITH_SECURITY_NON = 2; - private static final int EXPANDED_CHILD_COUNT_DEFAULT = 3; + private static final int EXPANDED_CHILD_COUNT_WITH_SECURITY_NON = 3; + private static final int EXPANDED_CHILD_COUNT_DEFAULT = 4; @VisibleForTesting static final String KEY_WIFI_TETHER_NETWORK_NAME = "wifi_tether_network_name";