- rild has different sepolicy for audio hal by type of service, which is hidl or aidl. Read property before querying service in rild can avoid avc denied presubmit test. Bug: 206738075 Test: build pass with hidl/aidl audio service Change-Id: I2616028fb3a6029646340fc3282e51a5f02b3f7f Signed-off-by: Jasmine Cha <chajasmine@google.com>
15 lines
466 B
Makefile
15 lines
466 B
Makefile
DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml
|
|
|
|
# Audio HALs
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.audio.service-aidl.aoc
|
|
|
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/aidl
|
|
|
|
include device/google/gs-common/audio/common.mk
|
|
|
|
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/aidl/device_framework_matrix_product.xml
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
vendor.audio_hal.aidl.enable=true
|