[Default permission exception]

Google - Pixel Ambient Services (com.google.intelligence.sense)

Pre-grant record audio for the sense apk.

Bug: 38375510
Bug: 62096243
Test: Flashed to a device and confirmed the permissions was already
granted.
Change-Id: I8e7b78ad073cb473caa8e6a17daaf5d545e0832b
This commit is contained in:
Gabe Taubman
2017-05-24 16:49:22 -04:00
parent 9127ae4ff6
commit 8fb1488b76
2 changed files with 7 additions and 0 deletions

View File

@@ -57,4 +57,10 @@
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
<exception
package="com.google.intelligence.sense">
<!-- Record Audio -->
<permission name="android.permission.RECORD_AUDIO" fixed="false"/>
</exception>
</exceptions>

View File

@@ -18,6 +18,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
keyguard.no_require_sim=true
PRODUCT_COPY_FILES += \
device/google/wahoo/default-permissions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default-permissions/default-permissions.xml \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# Enforce privapp-permissions whitelist