diff options
author | 2019-08-15 02:08:03 +0000 | |
---|---|---|
committer | 2019-08-15 02:08:03 +0000 | |
commit | b215bf6c80f4ed8c429aa09d83d18325f7369cac (patch) | |
tree | 80653cf6c93549b921e220b7588372432079dd15 | |
parent | d30f15c8f8609c9544e08e1280e020dd3e6720ce (diff) | |
parent | 7e0a01fbf4a28002aaff787a533e341606f27b31 (diff) |
Merge "blast: default to surface damage to invalid"
-rw-r--r-- | services/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index b61247652f..db4ae41bc8 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -105,7 +105,7 @@ Layer::Layer(const LayerCreationArgs& args) mCurrentState.acquireFence = new Fence(-1); mCurrentState.dataspace = ui::Dataspace::UNKNOWN; mCurrentState.hdrMetadata.validTypes = 0; - mCurrentState.surfaceDamageRegion.clear(); + mCurrentState.surfaceDamageRegion = Region::INVALID_REGION; mCurrentState.cornerRadius = 0.0f; mCurrentState.api = -1; mCurrentState.hasColorTransform = false; |