Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cde89554 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Release sleep wake lock if activities are stopped while sleeping

The activity slept callback was removed since commit 4679918c. So
now just add the check at when an activity is stopped. Otherwise
it always takes 5s timeout to release the sleep wake lock.

Bug: 173186282
Test: ActivityTaskManagerServiceTests#testUpdateSleep

Change-Id: I7e662fea0c01ada95951009682375cd9fcec0b01
parent 0f3b7c08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment