diff --git a/device.mk b/device.mk index 1e04e34..0df809c 100644 --- a/device.mk +++ b/device.mk @@ -240,6 +240,7 @@ PRODUCT_PACKAGES += \ init.cgroup.rc \ init.connectivity.common.rc \ init.connectivity.rc \ + init.gesture.sh \ init.insmod.sh \ init.insmod.mt6789.cfg \ init.modem.rc \ diff --git a/rootdir/Android.bp b/rootdir/Android.bp index 09166e9..d2f17dd 100644 --- a/rootdir/Android.bp +++ b/rootdir/Android.bp @@ -101,6 +101,12 @@ prebuilt_etc { vendor: true } +sh_binary { + name: "init.gesture.sh", + src: "bin/init.gesture.sh", + vendor: true +} + sh_binary { name: "init.insmod.sh", src: "bin/init.insmod.sh", diff --git a/rootdir/bin/init.gesture.sh b/rootdir/bin/init.gesture.sh new file mode 100644 index 0000000..1eac66b --- /dev/null +++ b/rootdir/bin/init.gesture.sh @@ -0,0 +1,2 @@ +# Enable DT2W +echo cc1 > /proc/gesture_function \ No newline at end of file