From 5a10a48362471c23f512da7a34b16e4fe3724852 Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 19 Aug 2019 14:34:58 +0200 Subject: shinano-common: Remove init.platform-common.rc * Glove mode should be set from the touch HAL * Move TFA9890 AMP and Double tap to wake to init.qcom.rc --- rootdir/Android.mk | 8 -------- rootdir/etc/init.platform-common.rc | 17 ----------------- rootdir/etc/init.qcom.rc | 11 +++++++++++ shinano.mk | 1 - 4 files changed, 11 insertions(+), 26 deletions(-) delete mode 100644 rootdir/etc/init.platform-common.rc diff --git a/rootdir/Android.mk b/rootdir/Android.mk index 993e1de..af4fe71 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -16,14 +16,6 @@ LOCAL_SRC_FILES := etc/init.camera.rc LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw include $(BUILD_PREBUILT) -include $(CLEAR_VARS) -LOCAL_MODULE := init.platform-common.rc -LOCAL_MODULE_TAGS := optional eng -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.platform-common.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - include $(CLEAR_VARS) LOCAL_MODULE := init.qcom.power.rc LOCAL_MODULE_TAGS := optional eng diff --git a/rootdir/etc/init.platform-common.rc b/rootdir/etc/init.platform-common.rc deleted file mode 100644 index 58a3063..0000000 --- a/rootdir/etc/init.platform-common.rc +++ /dev/null @@ -1,17 +0,0 @@ -on boot - # Touch - chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture - chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture - - # Glove input - chown system system /sys/devices/virtual/input/clearpad/glove - chown system system /sys/devices/virtual/input/max1187x/glove - chmod 0660 /sys/devices/virtual/input/clearpad/glove - chmod 0660 /sys/devices/virtual/input/max1187x/glove - -# TFA9890 AMP -service tfa9890_amp /system/bin/tfa9890_amp - class late_start - user root - group root - oneshot diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 60aec1c..d3a88e6 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -265,6 +265,10 @@ on boot chown system system /sys/devices/virtual/graphics/fb0/rgb chmod 0660 /sys/devices/virtual/graphics/fb0/rgb + # Touchscreen + chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture + chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture + on post-fs # Change to socket location on libkeyctrl/suntory for /data encryption # Create suntory data directory @@ -532,3 +536,10 @@ service hvdcp /vendor/bin/hvdcp class core user root disabled + +# TFA9890 AMP +service tfa9890_amp /system/bin/tfa9890_amp + class late_start + user root + group root + oneshot diff --git a/shinano.mk b/shinano.mk index 3e8f7a9..21b58c8 100644 --- a/shinano.mk +++ b/shinano.mk @@ -143,7 +143,6 @@ include $(COMMON_PATH)/system_prop.mk PRODUCT_PACKAGES += \ fstab.qcom \ init.camera.rc \ - init.platform-common.rc \ init.qcom.power.rc \ init.qcom.rc \ init.recovery.qcom.rc \ -- cgit v1.2.3