diff options
| author | 2021-06-01 21:41:11 +0000 | |
|---|---|---|
| committer | 2021-06-01 21:41:11 +0000 | |
| commit | 77106b3fcb1d680f93898a87ae209887fac43ba7 (patch) | |
| tree | f88df23f563c511ce55a7a0a5e1433125055aa14 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 10ae9fc965f609d93d4366cbe42c071ac960e3f0 (diff) | |
| parent | 1da402ebd896c569bada7044fac4b66abccb7997 (diff) | |
Merge "Inform SurfaceFlinger about displays which receive input" into sc-v2-dev am: 61309faf6c am: 1da402ebd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14669171
Change-Id: I40e9aaa3ba317e5fdb406c1627801e954f2dcbf6
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index ca948407a0..e4f5ecdb48 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1731,6 +1731,12 @@ void SurfaceComposerClient::Transaction::setDisplayLayerStack(const sp<IBinder>& s.what |= DisplayState::eLayerStackChanged; } +void SurfaceComposerClient::Transaction::setDisplayFlags(const sp<IBinder>& token, uint32_t flags) { + DisplayState& s(getDisplayState(token)); + s.flags = flags; + s.what |= DisplayState::eFlagsChanged; +} + void SurfaceComposerClient::Transaction::setDisplayProjection(const sp<IBinder>& token, ui::Rotation orientation, const Rect& layerStackRect, |