summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Tiger Huang <tigerhuang@google.com> 2022-09-08 15:40:49 +0800
committer Tiger Huang <tigerhuang@google.com> 2022-09-08 15:40:49 +0800
commit40b4880d7ae0d74856287b18d7d7f07a9263f2dd (patch)
treed3bd24c386df365f0b7021b6471a8f35e9f2ef4b /libs/hwui/FrameInfoVisualizer.cpp
parent915edab656a2fe3bc97e574ca93d7eaa41cc9d8d (diff)
Apply synced relayout if we have FLAG_WINDOW_VISIBILITY_CHANGED
The client needs to call relayout to get the valid surface if - mFirst, - mViewVisibility != viewVisibility, - mNewSurfaceNeeded, or - mAppVisibilityChanged. We didn't cover mNewSurfaceNeeded or mAppVisibilityChanged previously. All of them are covered by FLAG_WINDOW_VISIBILITY_CHANGED. Bug: 244521023 Bug: 161810301 Test: 1. Enable LOCAL_LAYOUT 2. Open Camera and double press the power button. See if the preview screen of Camera become blank. Change-Id: I37fb8ffc9063b72bf3abba5d29fc2f750e7fc64f
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions