summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Cheng Shi <shicheng@xiaomi.corp-partner.google.com> 2022-06-09 09:09:56 +0000
committer Chris Li <lihongyu@google.com> 2022-06-15 01:01:28 +0000
commit3ff201a71394945fa000742a6419b830ecf8ea8a (patch)
tree852e21763144d308b7745e0aa048fccb5a6a2f7e /libs/androidfw/FileStream.cpp
parent51e6e8a0e18105533a980ead8f639f3aa8879af1 (diff)
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 Change-Id: I60b2da453da0ac5c4df6e5a1040defe4bfe726ec Merged-In: I60b2da453da0ac5c4df6e5a1040defe4bfe726ec
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions