aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Barezzi <barezzisebastiano@gmail.com>2022-05-31 16:08:01 +0200
committerdrishal <drishalballaney@gmail.com>2022-06-27 11:00:33 +0530
commitcf7d5891af3e0c42fa73a0f0b278cc93967c90a9 (patch)
treefc2a41a86a45cd416c5c4705b13e8bf790bad2a6
parent28b5d77505662cfb60015814742feb4ce1671f5a (diff)
sm8250-common: Decommonize popup camera service
Change-Id: I4d1ef2ba94c72cff7b80c0b9799813b5f47f34a8
-rw-r--r--kona.mk4
-rw-r--r--manifest.xml5
-rw-r--r--proprietary-files.txt10
-rw-r--r--rootdir/etc/init.xiaomi.rc11
4 files changed, 0 insertions, 30 deletions
diff --git a/kona.mk b/kona.mk
index a117f69..755ae44 100644
--- a/kona.mk
+++ b/kona.mk
@@ -171,10 +171,6 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.camera.device@1.0.vendor \
vendor.qti.hardware.camera.postproc@1.0.vendor
-# Camera motor
-PRODUCT_PACKAGES += \
- vendor.xiaomi.hardware.motor@1.0.vendor
-
# Configstore
PRODUCT_PACKAGES += \
disable_configstore
diff --git a/manifest.xml b/manifest.xml
index ab69fc1..b986a94 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -278,9 +278,4 @@
<transport>hwbinder</transport>
<fqname>@3.0::IRTPService/imsrtpservice</fqname>
</hal>
- <hal format="hidl">
- <name>vendor.xiaomi.hardware.motor</name>
- <transport>hwbinder</transport>
- <fqname>@1.0::IMotor/default</fqname>
- </hal>
</manifest>
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 1a26c72..3ffeb8e 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -47,16 +47,6 @@ vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so
system_ext/lib64/libaptXHD_encoder.so|e13fa70c97caaa24d061678bdee608eb8850a69e
system_ext/lib64/libaptX_encoder.so|df1c89d7af1bb35808d5fe3496b04ba066c10cbc
-# Camera motor - from lmi
-vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service|ad6fda3ad8b60a16f2c6281151a44a68222920f8
-vendor/etc/init/init.lmi.rc|43fd0f183b1e70bf82e98ea0f547dd5196da379b
-vendor/etc/step_motor/mi_camera_config.xml|f0ee340dc67113999da5f863b3f8b25dc891d3af
-vendor/lib64/hw/vendor.xiaomi.hardware.motor@1.0-impl.so|22d3316d5d32db7531d66fa6d81fbf9e11473192
-vendor/lib64/libmivendor_module_calibration.so|add569d1504762234ae7e5228af0e6fa6af04d90
-vendor/lib64/libmivendor_module_hall.so|5df0bafdad56960cb0cfdef379987238c3bf45a9
-vendor/lib64/libmivendor_module_motor.so|7267336b33ee35d7b3de799b89ef430c5124595c
-vendor/lib64/mi.motor.daemon.so|6699c952e3be5a9cbaa796525d110cabaa59f4e1
-
# Camera motor (sound) - from lmi
media/audio/ui/popup_cangmen_down.ogg:system_ext/media/audio/ui/popup_cangmen_down.ogg|573b107889ccf639db5455af21129ce1fee93bc5
media/audio/ui/popup_cangmen_up.ogg:system_ext/media/audio/ui/popup_cangmen_up.ogg|f152dea254b4eaae403b791c49c60c05ccf12ea7
diff --git a/rootdir/etc/init.xiaomi.rc b/rootdir/etc/init.xiaomi.rc
index e6607f8..d68b2fd 100644
--- a/rootdir/etc/init.xiaomi.rc
+++ b/rootdir/etc/init.xiaomi.rc
@@ -45,17 +45,6 @@ on post-fs-data
mkdir /mnt/vendor/persist/fpc 0770 system system
mkdir /mnt/vendor/persist/goodix 0770 system system
-# Motor
-service vendor.motor /vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service
- override
- class hal
- user system
- group system
- disabled
-
-on property:vendor.lineage.motor.enable=true
- enable vendor.motor
-
# NFC
service qti_esepowermanager_service_1_1 /vendor/bin/hw/vendor.qti.esepowermanager@1.1-service
override