commit | 5dde597cabb5deff47a1e77c69a217c840893532 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed May 13 10:50:54 2020 -0700 |
committer | Ady Abraham <adyabr@google.com> | Wed May 13 20:38:06 2020 +0000 |
tree | ff0a9d6de44fb8b24d17a0a7a7d7d9d3c7c927a1 | |
parent | cc9a52824f243f76aa2ef6677b6e92ef3fef8f48 [diff] |
SurfaceFlinger: ignore invisible layers We keeps around layers that explicitly voted with setFrameRate API even if those are not visible. This is to be able to react when those become visible. However there is a bug in that logic that causes SurfaceFlinger to treat explicit invisible layers as Max. Bug: 153111478 Bug: 156506455 Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Change-Id: I15dde0b79bf670874edee90336caa812f791cf26