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
Loading
Please register or sign in to comment