commit | 92072e03c745eabe27c6e726db12af20b52d8fb0 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Tue Jul 16 14:31:55 2019 -0700 |
committer | Tri Vo <trong@google.com> | Tue Jul 16 14:33:00 2019 -0700 |
tree | dfa5e3ec8fcc25865f28029137ef90379e101c1b | |
parent | 3f2b4b270afa62d403fb3419c9e6749d12a8ed0e [diff] |
Set /sys/power/wake_lock permissions on init. system_suspend need to be an early_hal as it's required before storage encryption can get unlock on FDE devices. /sys/power/wake_lock is a dependency of system_suspend (only in Q and earlier). Permissions on this file need to be set early enough. Bug: 136777986 Bug: 133175847 Test: boot blueline Change-Id: I8a9d3374b327e451fb98d2279d1bac9477a9560d