Added new key layouts, added adb default property overrides.
Moved key layout copy lines from vendor blob file and placed them
in the device makefile.
Added adb default property overrides to allow use of adb in the
builds by default.
diff --git a/device.mk b/device.mk
index d8ed732..b6250fd 100644
--- a/device.mk
+++ b/device.mk
@@ -143,10 +143,13 @@
# Keylayout
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \
- $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
- $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \
- $(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl
+ $(LOCAL_PATH)/keylayout/Synaptics_RMI4_TouchPad_Sensor.idc:system/usr/idc/Synaptics_RMI4_TouchPad_Sensor.idc \
+ $(LOCAL_PATH)/keylayout/Synaptics_HID_TouchPad.idc:system/usr/idc/Synaptics_HID_TouchPad.idc \
+ $(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \
+ $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \
+ $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
+ $(LOCAL_PATH)/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
+ $(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl
# Keystore
PRODUCT_PACKAGES += \
@@ -164,7 +167,7 @@
PRODUCT_PACKAGES += \
librs_jni
-# USB
+# Default Property Overrides
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp \
telephony.lteOnCdmaDevice=0 \
@@ -175,7 +178,11 @@
persist.cne.feature=0 \
persist.radio.lte_vrte_ltd=1 \
persist.radio.add_power_save=1 \
- camera2.portability.force_api=1
+ camera2.portability.force_api=1 \
+ ro.secure=0 \
+ ro.adb.secure=0 \
+ ro.debuggable=1 \
+ persist.service.adb.enable=1
# GPS
#PRODUCT_PACKAGES += \
@@ -189,6 +196,7 @@
PRODUCT_PACKAGES += \
sensors.default
+#GPS Configurations
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gps/flp.conf:system/etc/flp.conf \
$(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf \
@@ -198,7 +206,7 @@
# macloader
PRODUCT_PACKAGES += macloader
-# Media
+# Media configurations
PRODUCT_COPY_FILES += \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
@@ -315,7 +323,7 @@
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
-# Wifi
+# Wifi configuration files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \