commit | 09c2541772d278f62c1cf7c83b739a6d3e6048ac | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Thu Dec 02 14:49:56 2021 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Mon Dec 13 10:43:54 2021 -0500 |
tree | a81fc57919506b43599ee84d20cc4d62fc34351b | |
parent | 2e1aa18498c9e7139c17849407d4743074632e9b [diff] [blame] |
Handle DISPLAY_DECORATION I90543850d57323be485a0fa8562f4e965aed28ab in hardware/interfaces introduces the new Composition type, DISPLAY_DECORATION. Handle this case when looking at Composition. Bug: 193170859 Test: TODO Change-Id: Ic5d5881dbbbaa348bf5ba39c5f8a4fca7b7170b4
diff --git a/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp b/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp index e6bcec8..94ad6c3 100644 --- a/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp +++ b/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp
@@ -539,6 +539,7 @@ break; case Composition::CURSOR: case Composition::DEVICE: + case Composition::DISPLAY_DECORATION: writeBufferStateToHWC(hwcLayer, outputIndependentState, skipLayer); break; case Composition::INVALID: @@ -684,6 +685,7 @@ case Composition::DEVICE: case Composition::SOLID_COLOR: + case Composition::DISPLAY_DECORATION: result = (to == Composition::CLIENT); break;