diff options
| author | 2019-08-22 00:54:39 +0000 | |
|---|---|---|
| committer | 2019-08-22 00:54:39 +0000 | |
| commit | 7a60dbb6aa86a9f48641fe64a30fb83803f9b51a (patch) | |
| tree | 4f90f51afcdfd4cdcd5ffd224f1bc4901208e82e /libs | |
| parent | 3f4abac7f3b47753494813206b9758f1e14722ed (diff) | |
| parent | c185192c424b167587bfbb144d548c4d888a7156 (diff) | |
Merge "libgui: reset mEnableFrameTimestamps when Surface disconnects"
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/gui/Surface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index 4e6a4e7b4c..eb2e3f0615 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -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; |