Merge "Modify the value of intent-filter" am: 15ecc3610d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1579989 Change-Id: Ic58bf302f23ae363d22a3ca7b636c9586dc04364
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user