Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a60dbb6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "libgui: reset mEnableFrameTimestamps when Surface disconnects"

parents 3f4abac7 c185192c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1354,6 +1354,7 @@ int Surface::disconnect(int api, IGraphicBufferProducer::DisconnectMode mode) {
        mTransform = 0;
        mStickyTransform = 0;
        mAutoPrerotation = false;
        mEnableFrameTimestamps = false;

        if (api == NATIVE_WINDOW_API_CPU) {
            mConnectedToCpu = false;