diff options
author | Galia Peycheva <galinap@google.com> | 2020-03-24 11:38:38 +0100 |
---|---|---|
committer | Galia Peycheva <galinap@google.com> | 2020-03-24 15:31:19 +0100 |
commit | a37fc59fde30854a823ccd54ba0d0eaa6fea65f7 (patch) | |
tree | 6adb8ce1c996a2e947f0980dd24f1efefba5d3f1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5bd455ac5f0f09280ae59e3eeb74ea7e3b7e4823 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions