commit | d854e004dacc78baec1bb922b1bb19068a4a4d74 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Apr 20 14:54:20 2021 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Apr 21 13:38:51 2021 +0000 |
tree | 67363e982e65e9695d35881379096d0ba4f6fe86 | |
parent | f98e690f9e29738a95343fef20c1d31e50b4c6d4 [diff] |
Also check idle to handle stopping activities Animating activity may not have nowVisible=true (see WindowSgtate#updateReportedVisibility) but it may be already idle. This restores the same condition as before commit edc4294. Bug: 185807984 Test: atest DreamManagerServiceTests# \ testStartTurnScreenOnActivityDoesWake Change-Id: Iaaffb80bd9e1e339d36034bdb6a369562f59a41c