Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ebc6573 authored by Steve Muckle's avatar Steve Muckle
Browse files

disable sync_on_suspend when flag is set

Bug: 285395636
Test: suspend/resume testing
Change-Id: I2d97d8366b864ab3e72d7ae38a0f4906dc74ec6f
parent 8c9c7d07
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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