sdm660-common: Add support for Google Dialer Call recording

[someone5678] Modularized

Original commit:
c3b9f5c170

Signed-off-by: Chiranth A J <chiranth@m.ms.evolution-x.org>
Change-Id: I88ddeb57aa54e4fad88c3c9cba331dbbd7b4bd59
Signed-off-by: someone5678 <nemui3353@gmail.com>
Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Chiranth A J 2022-03-07 11:10:09 +00:00 committed by pix106
parent bfd593bfe0
commit 3bef50be1a
3 changed files with 16 additions and 0 deletions

7
configs/Android.bp Normal file
View file

@ -0,0 +1,7 @@
prebuilt_etc {
name: "com.google.android.apps.dialer.call_recording_audio.features.xml",
sub_dir: "permissions",
src: "com.google.android.apps.dialer.call_recording_audio.features.xml",
filename_from_src: true,
product_specific: true,
}

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

@ -144,6 +144,10 @@ PRODUCT_PACKAGES += \
# Boot animation # Boot animation
TARGET_BOOTANIMATION_SIZE := 1080p TARGET_BOOTANIMATION_SIZE := 1080p
# Call recording
PRODUCT_PACKAGES += \
com.google.android.apps.dialer.call_recording_audio.features.xml
# Camera # Camera
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.camera.device@3.5 \ android.hardware.camera.device@3.5 \