Grant the post notification permission to SearchSelector

By the legal requirement, Pixel devices shipped in 2024 shall show the
default browser/search engine selector. The SearchSelector app provides
the selector flow and a non-dismissable notification to comply the
requirement.

This feature is approved for 24Q1 and is required to cherrypick to
selected Pixel devices.

Test: Flash a ROM build and validated the permission being granted by
default.

Bug: 298575926
Bug: 302280560
Change-Id: I895b9f0ed3980e31714ae0ee18071dab8b9039ec
This commit is contained in:
Chris.CC Lee 2023-10-24 20:25:00 +08:00
parent 7730eb106a
commit 7061bc09aa

View file

@ -75,6 +75,11 @@
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/> <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception> </exception>
<exception package="com.google.android.apps.setupwizard.searchselector">
<!-- Notifications -->
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>
<exception <exception
package="com.google.android.apps.restore"> package="com.google.android.apps.restore">
<!-- External storage --> <!-- External storage -->