Update Adaptive connectivity page.
- Use MainSwitchPreference. - Use the TopIntroPreference to display the summary. - Use the IllustrationPreference to display the stastic illustration. - Add new illustrations for adaptive connectivity. Fix: 178673083 Test: robotest and test the switch preference manually Change-Id: I2376f4433b61ce1d3da287de92660fbeea5dd64e
This commit is contained in:
@@ -22,12 +22,14 @@ import android.provider.Settings;
|
||||
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.core.TogglePreferenceController;
|
||||
import com.android.settings.widget.SettingsMainSwitchPreferenceController;
|
||||
|
||||
/**
|
||||
* {@link TogglePreferenceController} that controls whether Adaptive connectivity option is enabled.
|
||||
* {@link SettingsMainSwitchPreferenceController}
|
||||
* that controls whether Adaptive connectivity option is enabled.
|
||||
*/
|
||||
public class AdaptiveConnectivityTogglePreferenceController extends TogglePreferenceController {
|
||||
public class AdaptiveConnectivityTogglePreferenceController extends
|
||||
SettingsMainSwitchPreferenceController {
|
||||
|
||||
private final WifiManager mWifiManager;
|
||||
|
||||
|
Reference in New Issue
Block a user