diff --git a/board-base.mk b/board-base.mk index efe5e68..7f32ac1 100644 --- a/board-base.mk +++ b/board-base.mk @@ -2,3 +2,5 @@ TARGET_SYSTEM_PROP := device/phh/treble/system.prop $(TARGET_SYSTEM_PROP) BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/phh/treble/bluetooth TARGET_EXFAT_DRIVER := exfat DEVICE_FRAMEWORK_MANIFEST_FILE := device/phh/treble/framework_manifest.xml + +BOARD_ROOT_EXTRA_FOLDERS += bt_firmware diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index d191972..d726cd4 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -6,3 +6,6 @@ #/system/bin/fsck\.exfat u:object_r:fsck_exec:s0 /system/bin/fsck\.ntfs u:object_r:fsck_exec:s0 + +/bt_firmware(/.*)? u:object_r:bt_firmware_file:s0 + diff --git a/sepolicy/qualcomm.te b/sepolicy/qualcomm.te index ed5a369..fba8ed8 100644 --- a/sepolicy/qualcomm.te +++ b/sepolicy/qualcomm.te @@ -1,3 +1,4 @@ +type bt_firmware_file, file_type; type rild, domain; #me.phh.treble.qti.audio is system-signed