summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-23 10:10:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-23 10:10:28 +0000
commitc3e6bd2fb2223973f26325d11c28b32b8685cfbd (patch)
treeda46aa45ad59a45a9fbbc5ea8610cb3878411436 /services/surfaceflinger/tests/unittests/TransactionApplicationTest.cpp
parentfa715fbb081b1c548160bbf9b3b483f2e532960c (diff)
parent169d2b5244b662e05dee2595acaef912fa553c38 (diff)
Snap for 8343869 from 169d2b5244b662e05dee2595acaef912fa553c38 to s-keystone-qcom-release
Change-Id: I3a2a1c3b8551e1c6af02b7c5426bffa4d5835511
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));