summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2023-08-24 00:23:55 -0700
committerLinux Build Service Account <lnxbuild@localhost>2023-08-24 00:23:55 -0700
commit0ffeb8f2ff914061921af895cbb0a077df5dd61a (patch)
tree85d68d12d1865240e2ad7e3e9bd3be4338847c94
parent52d3953e9ec0f10448ac90f2644f8d9af8cbb2b4 (diff)
parent59aa8174143199a41617b65e4e8c6be4b7a6ee26 (diff)
Merge 59aa8174143199a41617b65e4e8c6be4b7a6ee26 on remote branch
Change-Id: I50c08316935dfb673c6c217a77a33b618cb71d07
-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 63a298b643..a757977904 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -5433,7 +5433,7 @@ status_t SurfaceFlinger::setTransactionState(
const int64_t postTime = systemTime();
- if (mAsyncVdsCreationSupported) {
+ if (mAsyncVdsCreationSupported && std::this_thread::get_id() != mMainThreadId) {
checkVirtualDisplayHint(displays);
}