Loading services/surfaceflinger/SurfaceFlinger.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3620,7 +3620,7 @@ void SurfaceFlinger::applyTransactionState(const Vector<ComposerState>& states, } // If the state doesn't require a traversal and there are callbacks, send them now if (!(clientStateFlags & eTraversalNeeded)) { if (!(clientStateFlags & eTraversalNeeded) && !listenerCallbacks.empty()) { mTransactionCompletedThread.sendCallbacks(); } transactionFlags |= clientStateFlags; Loading services/surfaceflinger/TransactionCompletedThread.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -141,12 +141,12 @@ status_t TransactionCompletedThread::addPresentedCallbackHandles( } else { ALOGW("there are more latched callbacks than there were registered callbacks"); } } else { ALOGW("cannot find listener in mPendingTransactions"); } if (listener->second.size() == 0) { mPendingTransactions.erase(listener); } } else { ALOGW("cannot find listener in mPendingTransactions"); } status_t err = addCallbackHandle(handle); if (err != NO_ERROR) { Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3620,7 +3620,7 @@ void SurfaceFlinger::applyTransactionState(const Vector<ComposerState>& states, } // If the state doesn't require a traversal and there are callbacks, send them now if (!(clientStateFlags & eTraversalNeeded)) { if (!(clientStateFlags & eTraversalNeeded) && !listenerCallbacks.empty()) { mTransactionCompletedThread.sendCallbacks(); } transactionFlags |= clientStateFlags; Loading
services/surfaceflinger/TransactionCompletedThread.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -141,12 +141,12 @@ status_t TransactionCompletedThread::addPresentedCallbackHandles( } else { ALOGW("there are more latched callbacks than there were registered callbacks"); } } else { ALOGW("cannot find listener in mPendingTransactions"); } if (listener->second.size() == 0) { mPendingTransactions.erase(listener); } } else { ALOGW("cannot find listener in mPendingTransactions"); } status_t err = addCallbackHandle(handle); if (err != NO_ERROR) { Loading