commit | c185192c424b167587bfbb144d548c4d888a7156 | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Wed Aug 21 14:02:45 2019 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Wed Aug 21 14:02:45 2019 -0700 |
tree | 4d0e1a7806f193d1f9cb49756dda307b8ecab3b8 | |
parent | 13db07b6bcccb58ce51a385399e7288aaab0e077 [diff] [blame] |
libgui: reset mEnableFrameTimestamps when Surface disconnects Bug: 134185757 Test: build, flash and boot Change-Id: Ibe2ae9636bd0bf2beb6ab9e3c6a9a81e3fc7442a
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index 4e6a4e7..eb2e3f0 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp
@@ -1354,6 +1354,7 @@ mTransform = 0; mStickyTransform = 0; mAutoPrerotation = false; + mEnableFrameTimestamps = false; if (api == NATIVE_WINDOW_API_CPU) { mConnectedToCpu = false;