mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: Use vendor_overlay for audio_policy_configuration.xml
Signed-off-by: SamarV-121 <samarvispute121@gmail.com> Change-Id: Ifaa42cb1547529085cb73e3a493e8064dae07215
This commit is contained in:
parent
54be77083c
commit
c29c6e5616
3 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
on init
|
on init
|
||||||
mount none /system/etc/audio_policy_configuration.xml /vendor/etc/audio_policy_configuration.xml bind
|
|
||||||
|
|
||||||
# Disable vendor overlay
|
# Disable vendor overlay
|
||||||
mount none /vendor/lost+found /vendor/overlay bind
|
mount none /vendor/lost+found /vendor/overlay bind
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
# Block device for ZRAM
|
# Block device for ZRAM
|
||||||
/dev/block/zram0 u:object_r:swap_block_device:s0
|
/dev/block/zram0 u:object_r:swap_block_device:s0
|
||||||
|
|
||||||
|
# Vendor overlay
|
||||||
|
/(product|system/product)/vendor_overlay/[0-9]+/etc(/.*)? u:object_r:vendor_configs_file:s0
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/audio_policy_configuration.xml
|
$(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/29/etc/audio_policy_configuration.xml
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue