diff options
| author | Galia Peycheva <galinap@google.com> | 2021-09-13 11:19:33 +0200 |
|---|---|---|
| committer | Galia Peycheva <galinap@google.com> | 2021-09-20 10:28:17 +0200 |
| commit | 7b024ebd9d19489f6bc5ab8db07e46059555e50e (patch) | |
| tree | e3177a1ae830e6ca3512d5f59146d3e1be955ee6 /core/java/android/util/SparseArrayMap.java | |
| parent | 8bd6b0d17821359c8c4b30dc366c0fed493cce27 (diff) | |
Make DreamActivity translucent when waking up dream
The DreamService calls onWakeUp, which allows the dream application to
finish the dream itself and apply an exit animation for up to 5 seconds
(after that, the system force removes the dream window). During the time
when the dream application is performing an exit animation, the dream
activity window is opaque. This causes problems when the dream
application applies a long exit animation - turnScreenOn+noHistory
activities are put under the dream (because dream has highest z-order)
and get destroyed before they get a chance to be drawn (because they
never become visible).
This CL makes the dream activity translucent before onWakeUp is called.
This allows turnScreenOn+noHistory activities to be resumed underneath
the dream, while the dream is transitioning out.
Bug: 162880999
Bug: 198359939
Test: manual
Change-Id: I5045ba8765dd1918cf85ec0fa433617843e727bd
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
