diff --git a/board-base.mk b/board-base.mk index 4274be1..efe5e68 100644 --- a/board-base.mk +++ b/board-base.mk @@ -1,3 +1,4 @@ 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 diff --git a/framework_manifest.xml b/framework_manifest.xml new file mode 100644 index 0000000..d0f6d40 --- /dev/null +++ b/framework_manifest.xml @@ -0,0 +1,12 @@ + + + android.hardware.wifi.hostapd + hwbinder + 1.0 + + IHostapd + default + + + + diff --git a/sepolicy/treble_app.te b/sepolicy/treble_app.te new file mode 100644 index 0000000..ae0271e --- /dev/null +++ b/sepolicy/treble_app.te @@ -0,0 +1,5 @@ +allow system_app hal_wifi_hostapd_hwservice:hwservice_manager { add find }; +allow system_app hidl_base_hwservice:hwservice_manager { add }; +allow system_app wifi_data_file:dir create_dir_perms; +allow system_app wifi_data_file:file create_file_perms; +