hikey: remove redundant CONFIG_DRIVER_NL80211 :=y am: 1b597d4458 am: 2a342adc4d
am: 9e980b2cd6
Change-Id: I2275228115791385a3255573a7abcc43daaeb0b0
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index a9dc47d..ab7680a 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -17,7 +17,6 @@
WITH_DEXPREOPT ?= true
USE_OPENGL_RENDERER := true
-ANDROID_ENABLE_RENDERSCRIPT := true
# BT configs
BOARD_HAVE_BLUETOOTH := true
diff --git a/device-common.mk b/device-common.mk
index d4aa0da..757059d 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -45,6 +45,9 @@
android.hardware.broadcastradio@1.0-impl \
android.hardware.soundtrigger@2.0-impl
+PRODUCT_PACKAGES += \
+ android.hardware.drm@1.0-impl \
+
# Set zygote config
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
@@ -58,6 +61,14 @@
# PowerHAL
PRODUCT_PACKAGES += android.hardware.power@1.0-impl
+#GNSS HAL
+PRODUCT_PACKAGES += \
+ android.hardware.gnss@1.0-impl
+
+# Keymaster HAL
+PRODUCT_PACKAGES += \
+ android.hardware.keymaster@3.0-impl
+
# Copy hardware config file(s)
PRODUCT_COPY_FILES += \
device/linaro/hikey/etc/permissions/android.hardware.screen.xml:system/etc/permissions/android.hardware.screen.xml \
@@ -74,7 +85,7 @@
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
- device/linaro/hikey/vintf.xml:vendor/manifest.xml \
+ device/linaro/hikey/manifest.xml:vendor/manifest.xml \
device/linaro/hikey/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/linaro/hikey/audio/audio_policy.conf:system/etc/audio_policy.conf
diff --git a/manifest.xml b/manifest.xml
new file mode 100644
index 0000000..9d7e2b4
--- /dev/null
+++ b/manifest.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.bluetooth</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IBluetoothHci</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>
diff --git a/vintf.xml b/vintf.xml
deleted file mode 100644
index bdd4753..0000000
--- a/vintf.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<manifest version="1.0">
- <hal format="hidl">
- <name>android.hardware.bluetooth</name>
- <transport>hwbinder</transport>
- <impl level="generic"></impl>
- <version>1.0</version>
- </hal>
-</manifest>