summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2022-07-14 12:32:31 -0700
committerLinux Build Service Account <lnxbuild@localhost>2022-07-14 12:32:31 -0700
commit0ed64a10f0ae2adb736cea5b43940d225479e283 (patch)
tree230a68cc4fd2fb08bcd5fc30835b792c88270c04
parent24c575d175bd2f07a9b94c5b7236d5b02eed3222 (diff)
parent5772d30adadc6e28c222b1181d018d42e2fc09f9 (diff)
Merge 5772d30adadc6e28c222b1181d018d42e2fc09f9 on remote branch
Change-Id: I43a4b62bd5348447c9896b4f2ae043c25e0b45b2
-rwxr-xr-xservices/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 100755
--- 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);
}