init: Remove unused g7.app am: 31db954709
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20241844 Change-Id: Iae6edcf4e7a218bb576644a2cd29b709b5582ecf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
62e2d0cbce
1 changed files with 3 additions and 18 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue