Create a fragment class for the new "Hotspot & tethering" screen
This fragment class is created to display Wifi tether settings, Usb tether settings and bluetooth tether settings within the single "Hotspot & tethering" screen. By creating a new fragemnt, we can safely change the UI by replace fragment name in xml file. Right now, it only supports wifi tether settings and mostly copied from WifiTetherSettings.java. Bug: 146447611 Test: AllInOneTetherSettingsTest is created and run. Change-Id: Icdac0d4930451e6956dbf6ef0f4b65bce96fed3f
This commit is contained in:
@@ -61,7 +61,8 @@ public final class TetherEnabler implements SwitchWidgetController.OnSwitchChang
|
||||
public static final String SHARED_PREF = "tether_options";
|
||||
|
||||
@VisibleForTesting
|
||||
static final String WIFI_TETHER_KEY = WifiTetherDisablePreferenceController.PREF_KEY;
|
||||
static final String WIFI_TETHER_KEY =
|
||||
WifiTetherDisablePreferenceController.KEY_ENABLE_WIFI_TETHERING;
|
||||
@VisibleForTesting
|
||||
static final String USB_TETHER_KEY = UsbTetherPreferenceController.PREF_KEY;
|
||||
@VisibleForTesting
|
||||
|
Reference in New Issue
Block a user