summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2019-08-19 14:34:58 +0200
committerArian <arian.kulmer@web.de>2019-10-25 22:16:14 +0200
commit5a10a48362471c23f512da7a34b16e4fe3724852 (patch)
tree75a7d29b396f69e87bbaea3a9fd4e7d4fa4be636
parent234ab87747f39a9bd9c73f7b8058b550cd777f81 (diff)
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
-rw-r--r--rootdir/Android.mk8
-rw-r--r--rootdir/etc/init.platform-common.rc17
-rw-r--r--rootdir/etc/init.qcom.rc11
-rw-r--r--shinano.mk1
4 files changed, 11 insertions, 26 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
index 993e1de..af4fe71 100644
--- a/rootdir/Android.mk
+++ b/rootdir/Android.mk
@@ -17,14 +17,6 @@ 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
LOCAL_MODULE_CLASS := ETC
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 \