commit | c6a84e873b0d7062027494c632cc559b4bccfc0a | [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 | 8987f061c4e0cd9d024e39e56f3cabd2fdfb13df [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