commit | a2e735cf93d8acc29e7ee76d65951e8ba183a151 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Tue Jul 16 14:40:14 2019 -0700 |
committer | jhenrique09 <jhenrique09.mcz@hotmail.com> | Mon Jan 20 17:29:53 2020 +0000 |
tree | 540bd6399ba2c83d08abcb1d2bbb743df6ba1b21 | |
parent | f819cc5c866a608ab512560f5afe259045ff8f62 [diff] |
system_suspend: start early With aosp/952637, FDE devices will restart services that were started after the tmpfs /data was mounted. vold grabs a wake lock before triggering framework restart. Restarting system_suspend in these circumstances results in a wake lock leak. Prevent system_suspend from restarting by moving it to early_hal class. Bug: 136777986 Bug: 133175847 Test: boot blueline Change-Id: I00204ebbe6f807a04bc8529f02f6eb4a26b1478e