summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-08-03 03:12:57 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-03 03:12:57 +0000
commit8102148be76034556a5e087b920c750e0c1485a7 (patch)
treee9ea97aa86891d1c3bc4d8bab917108afcb7b9b8
parent02e75710843599c03b4e8cbf45037b88c0c7538c (diff)
parent56eb975447788a58b3a8f858655c964d35e0ba75 (diff)
downloadnative-8102148be76034556a5e087b920c750e0c1485a7.tar.gz
Snap for 4930082 from 56eb975447788a58b3a8f858655c964d35e0ba75 to pi-qpr1-release
Change-Id: Ib548805caedaf8afdb2f4d7a45fc67a62b0b89f5
-rw-r--r--services/surfaceflinger/BufferLayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/BufferLayer.cpp b/services/surfaceflinger/BufferLayer.cpp
index 12267adbc0..7ac1432198 100644
--- a/services/surfaceflinger/BufferLayer.cpp
+++ b/services/surfaceflinger/BufferLayer.cpp
@@ -701,6 +701,8 @@ bool BufferLayer::isOpaque(const Layer::State& s) const {
}
void BufferLayer::onFirstRef() {
+ Layer::onFirstRef();
+
// Creates a custom BufferQueue for SurfaceFlingerConsumer to use
sp<IGraphicBufferProducer> producer;
sp<IGraphicBufferConsumer> consumer;