Files
frameworks_base/core/java/android/view
Cheng Shi c6c0d0da5c Fix the problem that the turn_screen_on Activity does not draw.
A phone call came when the screen was off, displayState may change from
Display.STATE_OFF to STATE_ON before registerDisplayListener, which
causes ViewRootImpl.mAttachInfo.mDisplayState of InCallActivity to
remain Display.STATE_OFF, which causes performDraw to return directly.
So we should update ViewRootImpl.mAttachInfo.mDisplayState after
registerDisplayListener.

Bug: 235446909
Test: pass existing
Change-Id: I60b2da453da0ac5c4df6e5a1040defe4bfe726ec
2022-06-14 00:37:24 +00:00
..
…
2022-05-10 12:40:58 -05:00