Skip to content
Commit a37fc59f authored by Galia Peycheva's avatar Galia Peycheva
Browse files

Remove usage of sleep tokens during dreams

Previously, a sleep token wass acquired when the dream starts. This was
done because the dream was implemented as a floating window.
Acquiring the sleep token puts all other activities in a sleeping state.

Since ag/10493254, the dream is implemented using an activity. When the
activity shows on top of other activities, the rest are automatically
moved to a STOPPED state. Hence, the sleep token is no longer needed and
can be removed.

Bug: 152284980

Test: m && flash && verify dream start/stop works + it doesn't interfere
      with the keyguard
Change-Id: I00fc4b0b0e63702086fb283329605556936ec084
parent 5bd455ac
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