summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-22 10:16:18 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-22 10:16:18 +0000
commit5772d30adadc6e28c222b1181d018d42e2fc09f9 (patch)
treece50a86b72b086365df93e3bf2b4526530a1047b
parent9f70df8d9689aa25feff1401d79b0f33e49694a8 (diff)
parentb2c623dae56c6b8ad98baeab49798023374c05e8 (diff)
Snap for 8753707 from b2c623dae56c6b8ad98baeab49798023374c05e8 to s-keystone-qcom-release
Change-Id: I3bf633dcdf9d1ea1870d04aafdd479438707250f
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 1899efe9a0..23c994ce61 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -4864,7 +4864,7 @@ status_t SurfaceFlinger::setTransactionState(
const int64_t postTime = systemTime();
- if (mAsyncVdsCreationSupported) {
+ if (mAsyncVdsCreationSupported && std::this_thread::get_id() != mMainThreadId) {
checkVirtualDisplayHint(displays);
}