Launch desired Tether Settings fragment based on feature flag
When feature flag is enabled for AllInOneTetherSettings, implicit intent to TetherSettingsActivity or WifiTetherSettingsActivity should launch AllInOneTetherSettings fragement. The behavior won't change when flag is disabled. Bug: 149590956 Test: make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest, built and flashed to device. When flag disabled, long clicking on Hotspot Tile will go to TetherSettings fragment. When flag enabled, long clicking on Hotspot Tile will go to AllInOneTetherSettings fragment. Change-Id: Iffdaacde000fb58c7e54406522fac0541cabf7fc
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.settings.core.gateway;
|
||||
|
||||
import com.android.settings.AllInOneTetherSettings;
|
||||
import com.android.settings.DisplaySettings;
|
||||
import com.android.settings.IccLockSettings;
|
||||
import com.android.settings.MasterClear;
|
||||
@@ -169,6 +170,7 @@ public class SettingsGateway {
|
||||
ConfigureWifiSettings.class.getName(),
|
||||
SavedAccessPointsWifiSettings.class.getName(),
|
||||
SavedAccessPointsWifiSettings2.class.getName(),
|
||||
AllInOneTetherSettings.class.getName(),
|
||||
TetherSettings.class.getName(),
|
||||
WifiP2pSettings.class.getName(),
|
||||
WifiTetherSettings.class.getName(),
|
||||
|
Reference in New Issue
Block a user