Skip to content

Commit

Permalink
common: Add google dialer call recording feature
Browse files Browse the repository at this point in the history
Change-Id: Ifc8ab79aa5bfee81774af96943d668074fc36ee5
  • Loading branch information
whyredfire committed Sep 28, 2023
1 parent 7a816e6 commit cd4207e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/common.mk
Expand Up @@ -54,6 +54,13 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
endif
endif

# Call Recording
TARGET_CALL_RECORDING_SUPPORTED ?= true
ifneq ($(TARGET_CALL_RECORDING_SUPPORTED),false)
PRODUCT_COPY_FILES += \
vendor/aosp/config/permissions/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
endif

# Lineage-specific file
PRODUCT_COPY_FILES += \
vendor/aosp/config/permissions/privapp-permissions-lineagehw.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-lineagehw.xml
Expand Down
@@ -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>

0 comments on commit cd4207e

Please sign in to comment.