Reduce unnecessary redraw when unlocking
The visible windows may be drawn earlier then the timing to start requesting draw. And the starting window should be used to cover the drawing time of main window. This may reduce hundreds of milliseconds of unlock latency on slower devices. Bug: 139522754 Bug: 140811348 Test: atest ActivityVisibilityTests WindowStateTests#testRequestDrawIfNeeded Test: Use biometrics to unlock device with log WM_DEBUG_SCREEN_ON and WM_DEBUG_DRAW enabled. There shouldn't have multiple finishDrawingWindow from the same window. Change-Id: I258fad2ef69b7d912ce6f799eb1f3adf29e38aec
Loading
Please register or sign in to comment