From 8f025daa5338ac75de869d16e96387e3d7ef09d9 Mon Sep 17 00:00:00 2001 From: August Date: Mon, 30 Jul 2018 16:56:46 +0800 Subject: [PATCH] android power key support Signed-off-by: August --- android/device/softwinner/tulip-m64/configs/axp803-powerkey.kl | 2 ++ android/device/softwinner/tulip-m64/tulip_m64.mk | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 android/device/softwinner/tulip-m64/configs/axp803-powerkey.kl diff --git a/android/device/softwinner/tulip-m64/configs/axp803-powerkey.kl b/android/device/softwinner/tulip-m64/configs/axp803-powerkey.kl new file mode 100755 index 0000000000..9fbd2e1ccb --- /dev/null +++ b/android/device/softwinner/tulip-m64/configs/axp803-powerkey.kl @@ -0,0 +1,2 @@ +# bpi axp power key +key 116 POWER diff --git a/android/device/softwinner/tulip-m64/tulip_m64.mk b/android/device/softwinner/tulip-m64/tulip_m64.mk index ecd38c37a7..af5ee37069 100755 --- a/android/device/softwinner/tulip-m64/tulip_m64.mk +++ b/android/device/softwinner/tulip-m64/tulip_m64.mk @@ -23,7 +23,7 @@ PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.foreground-heap-growth-multiplier=2.0 PRODUCT_DEX_PREOPT_PROFILE_DIR := device/softwinner/tulip-m64/configs/profiles # secure config -BOARD_HAS_SECURE_OS := true +BOARD_HAS_SECURE_OS := false # drm config BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 3 @@ -93,6 +93,7 @@ PRODUCT_COPY_FILES += \ device/softwinner/tulip-m64/configs/camera.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/camera.cfg \ device/softwinner/tulip-m64/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ device/softwinner/tulip-m64/configs/tp.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/ft5x_ts.idc \ + device/softwinner/tulip-m64/configs/axp803-powerkey.kl:$(TARGET_COPY_OUT_VENDOR)/usr/idc/axp803-powerkey.kl \ device/softwinner/tulip-m64/configs/gsensor.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/gsensor.cfg \ device/softwinner/common/config/awbms_config:$(TARGET_COPY_OUT_VENDOR)/etc/awbms_config \