diff --git a/compatibility_matrices/compatibility_matrix.8.xml b/compatibility_matrices/compatibility_matrix.8.xml index 5cbf85c01c..8ca038b0e0 100644 --- a/compatibility_matrices/compatibility_matrix.8.xml +++ b/compatibility_matrices/compatibility_matrix.8.xml @@ -723,7 +723,7 @@ default - + android.hardware.wifi 1 diff --git a/wifi/apex/Android.bp b/wifi/apex/Android.bp index e1fefb9575..f8ba5c472b 100644 --- a/wifi/apex/Android.bp +++ b/wifi/apex/Android.bp @@ -30,6 +30,7 @@ prebuilt_etc { name: "com.android.hardware.wifi.xml", src: ":default-android.hardware.wifi-service.xml", installable: false, + sub_dir: "vintf", } apex { @@ -38,7 +39,6 @@ apex { key: "com.android.hardware.wifi.key", certificate: ":com.android.hardware.wifi.certificate", file_contexts: "file_contexts", - vintf_fragments: [":com.android.hardware.wifi.xml"], use_vndk_as_stable: true, updatable: false, soc_specific: true, diff --git a/wifi/apex/file_contexts b/wifi/apex/file_contexts index 6368729c9a..d932facd1e 100644 --- a/wifi/apex/file_contexts +++ b/wifi/apex/file_contexts @@ -1,3 +1,3 @@ -(/.*)? u:object_r:vendor_file:s0 +(/.*)? u:object_r:vendor_file:s0 +/etc(/.*)? u:object_r:vendor_configs_file:s0 /bin/hw/android\.hardware\.wifi-service u:object_r:hal_wifi_default_exec:s0 -