[Provider Model] Correct the Settings shortcut of the Settings Widget
The Settings is used the "Internet" settings instead of "Wi-Fi" settings
after Provider Model enabled.
The Settings shortcut of the Settings widget should update below.
- Remove "Wi-Fi" shortcut from the Settings widget
- Correct the "Network & internet" shortcut to "Internet"
Bug: 194644851
Test: manual test
atest -c SettingsUnitTests
make RunSettingsRoboTests
Change-Id: I488327a01f5e539ecbe315b7016f65084dfd59a1
Merged-In: I488327a01f5e539ecbe315b7016f65084dfd59a1
(cherry picked from commit 658a417205
)
This commit is contained in:
@@ -273,10 +273,6 @@
|
|||||||
<action android:name="android.settings.WIFI_SETTINGS" />
|
<action android:name="android.settings.WIFI_SETTINGS" />
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter android:priority="1">
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
<category android:name="com.android.settings.SHORTCUT" />
|
|
||||||
</intent-filter>
|
|
||||||
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
|
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
|
||||||
android:value="com.android.settings.wifi.WifiSettings" />
|
android:value="com.android.settings.wifi.WifiSettings" />
|
||||||
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
|
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
|
||||||
@@ -285,7 +281,7 @@
|
|||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name="Settings$NetworkProviderSettingsActivity"
|
android:name="Settings$NetworkProviderSettingsActivity"
|
||||||
android:label="@string/network_dashboard_title"
|
android:label="@string/provider_internet_settings"
|
||||||
android:icon="@drawable/ic_homepage_network"
|
android:icon="@drawable/ic_homepage_network"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize">
|
android:configChanges="orientation|keyboardHidden|screenSize">
|
||||||
|
Reference in New Issue
Block a user