Ruina Liu 4d3273bbcc [ALPS03902630] Fix property type of MTK Bluetooth
Google has new property limitation, neverallow coredomain
from writing vendor properties.
Change the type from mtk_core_property_type to
extended_core_property_type

MTK-Commit-Id: d430f6e975a68837ae7c95be664f9004149a6852

Change-Id: I24c634223eb40fc4f28934cdcacb26ea94b0d4f6
CR-Id: ALPS03902630
Feature: BT AOSP
2020-01-18 10:03:37 +08:00

22 lines
729 B
Plaintext

# ==============================================
# MTK Policy Rule
# ==============================================
# Date:W17.07
# Operation : bt hal developing
# Purpose : bt hal interface permission
binder_call(bluetooth, mtk_hal_bluetooth)
allow bluetooth storage_stub_file:dir getattr;
# Date: 2018/01/17
#allow bluetooth to set property
set_prop(bluetooth, vendor_bluetooth_prop)
set_prop(bluetooth, debug_prop)
# Date: 2018/02/02
# Major permission allow are in /system/sepoplicy/private/bluetooth.te
# Add dir create perms for bluetooth on /data/misc/bluetooth/logs
allow bluetooth bluetooth_logs_data_file:dir { create_dir_perms relabelto };
allow bluetooth bluetooth_logs_data_file:fifo_file { create_file_perms };