diff options
author | 2021-04-27 13:25:38 +0200 | |
---|---|---|
committer | 2021-05-25 11:50:31 +0200 | |
commit | 8f04b30c59ebb8bd3c7d66203d91113e078ed815 (patch) | |
tree | e6805e71261974857f7be5c22cc25c065fc5964b /libs/gui/LayerMetadata.cpp | |
parent | 6b38461a39eca271da55cf14682b6dfef764529b (diff) |
Add SF side tunnel mode listener
This CL adds a TunnelModeStateReporter, which monitors if there are
any layers with a sideband stream in SurfaceFlinger. If any of the
layers have a sideband stream, it informs all the registered listeners
that tunnel mode is enabled. When no layers have a sideband stream, it
notifies the listeners that tunnel mode is disabled.
Bug: 171457637
Test: atest TunnelModeStateListenerTest
Test: atest TunnelModeStateReporterTest
Change-Id: Ie54b34dbd9b6253d7142e9b0f690c8469374604d
Diffstat (limited to 'libs/gui/LayerMetadata.cpp')
0 files changed, 0 insertions, 0 deletions