summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/TransactionCompletedThread.cpp
diff options
context:
space:
mode:
author Valerie Hau <vhau@google.com> 2019-11-26 19:12:51 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-11-26 19:12:51 +0000
commit27936a638d064cf36dfa85720cb9a819ef23ae4c (patch)
treeb5c5dee5d60b8d79d1676bbb55055c17fec9d3b3 /services/surfaceflinger/TransactionCompletedThread.cpp
parentb5b8623e91416cb1f10097adf38b5b46fd9f5ded (diff)
parentc5686802261e26e035889f047cf43016d890181f (diff)
Merge "When destroying layer, add children to offscreen layers"
Diffstat (limited to 'services/surfaceflinger/TransactionCompletedThread.cpp')
-rw-r--r--services/surfaceflinger/TransactionCompletedThread.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/services/surfaceflinger/TransactionCompletedThread.cpp b/services/surfaceflinger/TransactionCompletedThread.cpp
index c15355d338..8db03db7e8 100644
--- a/services/surfaceflinger/TransactionCompletedThread.cpp
+++ b/services/surfaceflinger/TransactionCompletedThread.cpp
@@ -189,15 +189,6 @@ status_t TransactionCompletedThread::finalizePendingCallbackHandles(
return NO_ERROR;
}
-void TransactionCompletedThread::clearAllPending() {
- std::lock_guard lock(mMutex);
- if (!mRunning) {
- return;
- }
- mPendingTransactions.clear();
- mConditionVariable.notify_all();
-}
-
status_t TransactionCompletedThread::registerUnpresentedCallbackHandle(
const sp<CallbackHandle>& handle) {
std::lock_guard lock(mMutex);