summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2022-04-04 05:51:50 -0700
committerLinux Build Service Account <lnxbuild@localhost>2022-04-04 05:51:50 -0700
commitbcb95726067e422d4d55ab078c4b898915a91a45 (patch)
treedd8ded958bfdfda4007b7325353f5d10a45b00da /services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
parent310298e2816e5393a85ea10a7661416376cf505d (diff)
parentc3e6bd2fb2223973f26325d11c28b32b8685cfbd (diff)
Merge c3e6bd2fb2223973f26325d11c28b32b8685cfbd on remote branch
Change-Id: Ic5966863c7610787847f8f7fc4f939af5f87f13e
Diffstat (limited to 'services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp')
-rw-r--r--services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp b/services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
index 7c431a077b..1a50427b93 100644
--- a/services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
+++ b/services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
@@ -74,6 +74,7 @@ public:
EXPECT_CALL(*mVSyncTracker, currentPeriod())
.WillRepeatedly(Return(FakeHwcDisplayInjector::DEFAULT_VSYNC_PERIOD));
+ mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>());
mFlinger.setupScheduler(std::unique_ptr<mock::VsyncController>(mVsyncController),
std::unique_ptr<mock::VSyncTracker>(mVSyncTracker),
std::move(eventThread), std::move(sfEventThread));