From 545a3f917493570a2ed7e9925da904b42a2fa7b7 Mon Sep 17 00:00:00 2001 From: Roger Wang Date: Fri, 28 May 2021 07:07:56 +0800 Subject: [PATCH] Add WiFi to gs201 device makefile In this commit we add wifi xml files into devices. Bug: 189501230 Test: WiFi can be turned ON from settings Change-Id: I775ca9c703357cb58ccd2e5055a27ba1cc957905 --- device.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/device.mk b/device.mk index d2a953f4..798b2c4d 100644 --- a/device.mk +++ b/device.mk @@ -557,12 +557,15 @@ PRODUCT_PACKAGES_DEBUG += \ device/google/gs201/firmware/camera/libhfd/tracker_cfg.json:$(TARGET_COPY_OUT_VENDOR)/firmware/tracker_cfg.json \ device/google/gs201/firmware/camera/libhfd/WithLightFixNoBN.SDNNmodel:$(TARGET_COPY_OUT_VENDOR)/firmware/WithLightFixNoBN.SDNNmodel -#PRODUCT_COPY_FILES += \ +# WiFi +PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \ frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ - frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \ + frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml + +#PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml