summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykhailo Sopiha2019-03-12 19:50:38 -0500
committerPraneeth Bajjuri2019-03-12 14:57:00 -0500
commit3cd41279bb369450df4f38141889eaaedfb6a153 (patch)
tree4fb865cca3bdd0b4c1d8752be2054c31798096d7 /device-common.mk
parenta4df486b4d487bf022106ec80d36cbe79c255274 (diff)
downloaddevice-ti-am65xevm-3cd41279bb369450df4f38141889eaaedfb6a153.tar.gz
device-ti-am65xevm-3cd41279bb369450df4f38141889eaaedfb6a153.tar.xz
device-ti-am65xevm-3cd41279bb369450df4f38141889eaaedfb6a153.zip
am65xevm: fix wifi-related nullpointer dereferences
Since some Android services are not checking whether wifi is present on the board - we need this configs to avoid nullpointer dereferences. Signed-off-by: Mykhailo Sopiha <mykhailo.sopiha@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'device-common.mk')
-rw-r--r--device-common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index 2a23fae..1362fac 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -66,6 +66,9 @@ PRODUCT_COPY_FILES += \
66 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ 66 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
67 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ 67 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
68 68
69#FIXME: this feature should be turned off as soon as google start checking for WIFI support before wifi calls
70PRODUCT_COPY_FILES += \
71 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
69 72
70PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 73PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
71 persist.sys.usb.config=mtp \ 74 persist.sys.usb.config=mtp \