Add new ACTION_WIFI_DETAILS_SETTINGS to Settings
- Need to export the interface to Quick Settings to launch Wi-Fi Network
details settings.
- Rename WifiNetworkDetailsFragment.class
Bug: 191475923
Test: manual test with the topic CLs.
make RunSettingsRoboTests
atest -c SettingsUnitTests:com.android.settings.wifi \
SettingsUnitTests:com.android.settings.network
Change-Id: Id2fd8c9b3b113ffbb49168305b05c67392fa4d87
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6960ce0..edfaffb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -305,6 +305,26 @@
</activity>
<activity
+ android:name="Settings$WifiDetailsSettingsActivity"
+ android:label="@string/wifi_details_title"
+ android:icon="@drawable/ic_homepage_network"
+ android:exported="true"
+ android:permission="android.permission.CHANGE_WIFI_STATE"
+ android:configChanges="orientation|keyboardHidden|screenSize">
+ <!-- The intent action is only public to OEM, because a special library is required. -->
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.WIFI_DETAILS_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <meta-data
+ android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.wifi.details.WifiNetworkDetailsFragment" />
+ <meta-data
+ android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
+ </activity>
+
+ <activity
android:name=".wifi.WifiPickerActivity"
android:exported="true">
<intent-filter android:priority="1">