disable sync_on_suspend when flag is set

Bug: 285395636
Test: suspend/resume testing
Change-Id: I2d97d8366b864ab3e72d7ae38a0f4906dc74ec6f
This commit is contained in:
Steve Muckle 2023-08-16 17:16:50 +00:00
parent 8c9c7d076f
commit 5ebc657386

View file

@ -1056,6 +1056,9 @@ on boot && property:ro.config.low_ram=true
write /proc/sys/vm/dirty_expire_centisecs 200
write /proc/sys/vm/dirty_background_ratio 5
on boot && property:suspend.disable_sync_on_suspend=true
write /sys/power/sync_on_suspend 0
on boot
# basic network init
ifup lo