Hold wakelock on boot

Hold wakelock on boot to mitigate b/188796118

(cherry-pick from device/google/cloudripper)
Bug: 188796118
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ia75d355eaed0d469f791f126aaed1c0059df0abd
This commit is contained in:
Pat Tjin 2021-05-20 21:01:41 -07:00 committed by Jesse Hall
parent ac54e6697c
commit 28140b7240

View file

@ -324,6 +324,10 @@ on post-fs-data
mkdir /data/vendor/edgetpu 0770 system system
mkdir /data/vendor/edgetpu/cache 0770 system system
# DELETE ME PREVENT SLEEP b/188796118
write /sys/power/wake_lock b188796118
on zygote-start
# For PixelLogger configuration file.
chmod 0771 /data/vendor/wifi