From a9eba460cc286e6c4189131a48cd73eac8841b43 Mon Sep 17 00:00:00 2001 From: TheStrechh Date: Sun, 20 Mar 2022 07:59:42 +0530 Subject: [PATCH] surya: Move init.qcom.sensors to device --- Android.bp | 8 ----- proprietary/vendor/bin/init.qcom.sensors.sh | 33 --------------------- surya-vendor.mk | 1 - 3 files changed, 42 deletions(-) delete mode 100755 proprietary/vendor/bin/init.qcom.sensors.sh diff --git a/Android.bp b/Android.bp index fbba7ad..8e46c79 100644 --- a/Android.bp +++ b/Android.bp @@ -9703,14 +9703,6 @@ cc_prebuilt_binary { soc_specific: true, } -sh_binary { - name: "init.qcom.sensors", - owner: "xiaomi", - srcs: ["proprietary/vendor/bin/init.qcom.sensors.sh"], - prefer: true, - soc_specific: true, -} - cc_prebuilt_binary { name: "irsc_util", owner: "xiaomi", diff --git a/proprietary/vendor/bin/init.qcom.sensors.sh b/proprietary/vendor/bin/init.qcom.sensors.sh deleted file mode 100755 index dcc0556..0000000 --- a/proprietary/vendor/bin/init.qcom.sensors.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/vendor/bin/sh -# Copyright (c) 2020 The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of The Linux Foundation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# -# Function to start sensors for SSC enabled platforms -# -cp /vendor/etc/sensors/scripts/* /data/vendor/sensors/scripts/ -chmod a+rw /data/vendor/sensors/scripts/* diff --git a/surya-vendor.mk b/surya-vendor.mk index a7de63b..e959a77 100644 --- a/surya-vendor.mk +++ b/surya-vendor.mk @@ -845,7 +845,6 @@ PRODUCT_PACKAGES += \ imsdatadaemon \ imsqmidaemon \ imsrcsd \ - init.qcom.sensors \ irsc_util \ loc_launcher \ lowi-server \