Declare framework-side hostapd (will be done by treble app)
This commit is contained in:
parent
7e04bf3113
commit
3a68ec19bc
@ -1,3 +1,4 @@
|
|||||||
TARGET_SYSTEM_PROP := device/phh/treble/system.prop $(TARGET_SYSTEM_PROP)
|
TARGET_SYSTEM_PROP := device/phh/treble/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/phh/treble/bluetooth
|
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/phh/treble/bluetooth
|
||||||
TARGET_EXFAT_DRIVER := exfat
|
TARGET_EXFAT_DRIVER := exfat
|
||||||
|
DEVICE_FRAMEWORK_MANIFEST_FILE := device/phh/treble/framework_manifest.xml
|
||||||
|
12
framework_manifest.xml
Normal file
12
framework_manifest.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<manifest version="1.0" type="framework">
|
||||||
|
<hal format="hidl">
|
||||||
|
<name>android.hardware.wifi.hostapd</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
<version>1.0</version>
|
||||||
|
<interface>
|
||||||
|
<name>IHostapd</name>
|
||||||
|
<instance>default</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
||||||
|
|
5
sepolicy/treble_app.te
Normal file
5
sepolicy/treble_app.te
Normal file
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user