Merge "Modify the value of intent-filter"

This commit is contained in:
Treehugger Robot
2021-04-07 10:11:06 +00:00
committed by Gerrit Code Review

View File

@@ -376,12 +376,15 @@
android:exported="true" android:exported="true"
android:permission="android.permission.NETWORK_STACK" android:permission="android.permission.NETWORK_STACK"
android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert"> android:theme="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
<!-- TODO: Consider removing below two intent filters.
It seems like below two intent filters can be removed because when the notification
is clicked, this activity will be launched anyway. -->
<intent-filter> <intent-filter>
<action android:name="android.net.conn.PROMPT_UNVALIDATED" /> <action android:name="android.net.action.PROMPT_UNVALIDATED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.net.conn.PROMPT_LOST_VALIDATION" /> <action android:name="android.net.action.PROMPT_LOST_VALIDATION" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"