commit | 714edbce28dfe8d3ec6fcf621c114f89285f0720 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Thu Aug 02 17:26:35 2018 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Aug 02 17:26:35 2018 -0700 |
tree | fa586f021bf4debb68cc30fd1858eb14d7196aab | |
parent | 9d6c8db4a077e6e095c39b25cc497e6714aa39f5 [diff] | |
parent | 56eb975447788a58b3a8f858655c964d35e0ba75 [diff] |
SF: Layer children should call parents' onFirstRef am: 56eb975447 Change-Id: I52e19fff3793cbcd5935cd55f4a0e4204d4ed53d
diff --git a/services/surfaceflinger/BufferLayer.cpp b/services/surfaceflinger/BufferLayer.cpp index 12267ad..7ac1432 100644 --- a/services/surfaceflinger/BufferLayer.cpp +++ b/services/surfaceflinger/BufferLayer.cpp
@@ -701,6 +701,8 @@ } void BufferLayer::onFirstRef() { + Layer::onFirstRef(); + // Creates a custom BufferQueue for SurfaceFlingerConsumer to use sp<IGraphicBufferProducer> producer; sp<IGraphicBufferConsumer> consumer;