diff options
| -rw-r--r-- | core/java/android/view/ViewRootImpl.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index 0e0262715d2f..0e1625aaedd8 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -4388,14 +4388,7 @@ public final class ViewRootImpl implements ViewParent, mReportNextDraw = false; mLastReportNextDrawReason = null; mActiveSurfaceSyncGroup = null; - if (mHasPendingTransactions) { - // TODO: We shouldn't ever actually hit this, it means mPendingTransaction wasn't - // merged with a sync group or BLASTBufferQueue before making it to this point - // But better a one or two frame flicker than steady-state broken from dropping - // whatever is in this transaction - mPendingTransaction.apply(); - mHasPendingTransactions = false; - } + mHasPendingTransactions = false; mSyncBuffer = false; if (isInWMSRequestedSync()) { mWmsRequestSyncGroup.markSyncReady(); |