diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-01 23:18:54 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-01 23:18:54 +0000 |
commit | be484e903ba2bdb9018aa6ff3aea26082ee2a974 (patch) | |
tree | 6141827a34460a34a6952b22861101d133e384cf | |
parent | f01087e659f54f3caeab98fab28fc03b327e7ae5 (diff) | |
parent | 413f79aa2b18f8989146a903d34701d2c6d0b5ee (diff) |
Snap for 9551190 from 413f79aa2b18f8989146a903d34701d2c6d0b5ee to t-keystone-qcom-release
Change-Id: I0f712baaeb2b88441448f92e6a3620d31fdd48fa
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index bc19446747..af25be9fa2 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2442,9 +2442,9 @@ nsecs_t SurfaceFlinger::getVsyncPeriodFromHWC() const { } nsecs_t SurfaceFlinger::getVsyncPeriodFromHWCcb() { - std::lock_guard<std::recursive_mutex> lockVsync(mVsyncLock); - Mutex::Autolock lock(mStateLock); + + std::lock_guard<std::recursive_mutex> lockVsync(mVsyncLock); auto display = getDefaultDisplayDeviceLocked(); if (mNextVsyncSource) { display = mNextVsyncSource; |