Add default permission grant for Settings Intelligence.

As a result of adding an alternative permission UI flow into the
prebuilt upon interaction with the notification, we are allowed to be
pre-granted this permission.

Bug: 72946884
Test: App doesn't break/crash upon using permission.

Change-Id: I4a4ca1b78f059e67dff3b91368710e0b0f23ca02
(cherry picked from commit 09854c4f88)
This commit is contained in:
Daniel Nishi
2018-01-19 10:24:12 -08:00
parent f892d75d77
commit 9eefc3d002

View File

@@ -96,4 +96,28 @@
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
<exception
package="com.google.android.apps.miphone.aiai"
sha256-cert-digest="8A:99:84:2F:79:25:51:71:7D:3A:19:E1:55:A6:D6:A6:E3:75:BD:1E:19:FB:CE:FF:43:8E:20:D2:F7:8D:8D:BE">
<!-- Calendar -->
<permission name="android.permission.READ_CALENDAR" fixed="false"/>
<!-- Contacts -->
<permission name="android.permission.READ_CONTACTS" fixed="false"/>
<!-- Location -->
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<!-- Phone -->
<permission name="android.permission.CALL_PHONE" fixed="false"/>
<permission name="android.permission.READ_CALL_LOG" fixed="false"/>
<!-- SMS -->
<permission name="android.permission.READ_SMS" fixed="false"/>
</exception>
<exception package="com.google.android.settings.intelligence">
<!-- Calendar -->
<permission name="android.permission.READ_CALENDAR" fixed="true"/>
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true"/>
</exception>
</exceptions>