Revert "ossi: Support AOSP charger animation"

* Not working on our device

This reverts commit d85d4378b3.
This commit is contained in:
lahaina
2024-04-04 00:43:23 +09:00
parent 310a02ad1f
commit 3dfde67936
2 changed files with 7 additions and 13 deletions

View File

@@ -12,9 +12,6 @@ ro.camera.sound.forced=0
# Brand
Build.BRAND=MTK
# Charger
ro.charger.enable_suspend=true
# Dalvik
dalvik.vm.ps-min-first-save-ms=150000
dalvik.vm.image-dex2oat-Xms=64m

View File

@@ -75,6 +75,8 @@ on late-init
write /sys/kernel/rcu_expedited 1
on charger
exec /system/bin/e2fsck -f -p /dev/block/platform/bootdevice/by-name/cache
mount ext4 /dev/block/platform/bootdevice/by-name/cache /cache rw wait
chmod 0660 /dev/spm
chown system system /dev/spm
start spm_script
@@ -104,6 +106,11 @@ on charger
chmod 0664 /sys/class/oplus_chg/battery/soc_ajust
chown system system /sys/class/oplus_chg/battery/soc_ajust
chown system system /sys/class/leds/lcd-backlight/brightness
chown system system /sys/class/leds/red/brightness
chown system system /sys/class/leds/green/brightness
start vendor.light-default
service swap_enable_init /vendor/bin/sh /vendor/bin/swap_enable.sh configure_memory_parameters
user root
@@ -1026,13 +1033,3 @@ service mtk_secure_element_hal_service /vendor/bin/hw/android.hardware.secure_el
class hal
user secure_element
group secure_element
service charger /system/bin/charger
class charger
user system
group system graphics wakelock input
capabilities SYS_BOOT
file /dev/kmsg w
file /sys/fs/pstore/console-ramoops-0 r
file /sys/fs/pstore/console-ramoops r
file /proc/last_kmsg r