summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author JihCheng Chiu <jih-cheng.chiu@mediatek.com> 2018-11-07 22:21:52 +0800
committer Robert Chou <robertchou@google.com> 2018-11-30 17:00:47 +0000
commitfe2975eff282cc394620bc33f2230d7fd526b86a (patch)
tree84d32b97deb1fe73ba41e2f184c3e97086fb0016 /libs/gui/BufferQueueThreadState.cpp
parentd6f7035d6a6c26862e1d7ebed4473e70c2f8941f (diff)
DO NOT MERGE Change the logic of ContainerLayer's isVisible()
The original logic of ContainerLayer's isVisible() checks the hidden flag. Therefore, SurfaceFlinger thought that those abstract surfaces have to show in display. However, they are meaningless for frame content. They should be ignored by SurfaceFlinger, so we can safely return false. Test: Change the type of abstract surface to ContainerLayer. Then slide UI, play video and so on. Bug: 111164627 Change-Id: I09e8647dc7fd8578d28dd79f3428a5e2eeb822fe
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions