avicii: Add support for Google Dialer Call recording

[someone5678] Modularized

Original commit:
c3b9f5c170

Signed-off-by: Chiranth A J <chiranth@m.ms.evolution-x.org>
Signed-off-by: someone5678 <nemui3353@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
This commit is contained in:
Chiranth A J
2022-08-06 23:49:32 +03:00
committed by AmolAmrit
parent 2b4c3042dc
commit bed7c99214
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<!-- Feature for Google Dialer Call Recording -->
<feature name="com.google.android.apps.dialer.call_recording_audio" />
</permissions>

View File

@@ -127,6 +127,10 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
# Call recording for Google Dialer
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/com.google.android.apps.dialer.call_recording_audio.features.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.google.android.apps.dialer.call_recording_audio.features.xml
# Configstore # Configstore
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
disable_configstore disable_configstore