init: Remove unused g7.app

Bug: 254410096
Test: Build pass
Change-Id: I134ff85f39b0fd69171b202dc7782eb04364147f
This commit is contained in:
eddielan 2022-10-20 11:18:33 +08:00
parent 1dbbda0712
commit 31db954709

View file

@ -1,11 +1,14 @@
# Felix specific init.rc # Felix specific init.rc
import /vendor/etc/init/hw/init.gs201.rc import /vendor/etc/init/hw/init.gs201.rc
# SFPS Fingerprint
on post-fs-data on post-fs-data
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/clk_enable chown system system /sys/devices/platform/odm/odm:fp_fpc1020/clk_enable
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/hw_reset chown system system /sys/devices/platform/odm/odm:fp_fpc1020/hw_reset
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/irq chown system system /sys/devices/platform/odm/odm:fp_fpc1020/irq
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/wakeup_enable chown system system /sys/devices/platform/odm/odm:fp_fpc1020/wakeup_enable
on fs
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/1540.app exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/1540.app
# Permissions for hwcomposer # Permissions for hwcomposer
@ -103,24 +106,6 @@ on post-fs-data
# Speaker amp permission # Speaker amp permission
chmod 644 /mnt/vendor/persist/audio/speaker.cal chmod 644 /mnt/vendor/persist/audio/speaker.cal
# Fingerprint
on post-fs-data
chown system system /dev/goodix_fp
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
# Overrides fingerprint antispoof if following persist sysprops are set
on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=0
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=1
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=100
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
# Hall sensor # Hall sensor
on init && property:ro.bootmode=normal on init && property:ro.bootmode=normal
write /sys/devices/platform/hall_sensor/enable 0 write /sys/devices/platform/hall_sensor/enable 0