Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 658a4172 authored by Weng Su's avatar Weng Su
Browse files

[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
parent ae17b173
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -274,10 +274,6 @@
                <action android:name="android.settings.WIFI_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </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"
                android:value="com.android.settings.wifi.WifiSettings" />
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
@@ -286,7 +282,7 @@

        <activity
            android:name="Settings$NetworkProviderSettingsActivity"
            android:label="@string/network_dashboard_title"
            android:label="@string/provider_internet_settings"
            android:icon="@drawable/ic_homepage_network"
            android:exported="true"
            android:configChanges="orientation|keyboardHidden|screenSize">