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

Commit 2430cb4e authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Do not wait for invisible activity when turning on screen

The activity may somehow keep its surface while it is invisible.
That causes its window WindowState#isVisible() still returns true
and is added to the waiting list. Because the invisible activity
won't redraw, that leads to 1s screen on timeout.

Bug: 231390641
Test: atest WindowStateTests#testRequestDrawIfNeeded
Change-Id: I0374e61641b02bc59c4edf308ec6d3f6683409c2
parent e7b17199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment