Pregrant POST_NOTIFICATIONS to CreativeAssistant

This will allow showing persistent, cancellable notifications when downloading models in a foreground service.

Demo:
https://drive.google.com/file/d/1IoSQsVxUrUN8ohqY3nGbuXvCD-C_78ao/view?usp=drive_link&resourcekey=0-QQ4z3f4XCoIf4H9CdEDa4g

Note: I'm submitting to main before, and I will cp into 24D1.
Note: Yes, zumapro default permissions also apply to caimito.

Bug: 308029155
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:18db77ac1cbc62916a82f83ea6449d8900dd1852)
Merged-In: I9e9017fc056a5c9f13f481f43317f551413390ca
Change-Id: I9e9017fc056a5c9f13f481f43317f551413390ca
This commit is contained in:
Akash Malik 2024-04-12 22:30:13 +00:00
parent 0d3db367cc
commit ed733ea507

View file

@ -65,6 +65,10 @@
<permission name="android.permission.BLUETOOTH_SCAN" fixed="false"/>
</exception>
<exception package="com.google.android.apps.pixel.creativeassistant">
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>
<exception package="com.google.android.apps.cbrsnetworkmonitor">
<!-- Location access to create CBRS geofences-->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>