Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffc8ccea authored by Tony Huang's avatar Tony Huang Committed by Android (Google) Code Review
Browse files

Merge "Fix split caused apps ANR" into sc-v2-dev

parents cc2ca8b9 b29b6aac
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -9931,7 +9931,10 @@ public final class ViewRootImpl implements ViewParent,
        if (!mUseMTRenderer) {
            return;
        }
        // Only wait if it will report next draw.
        if (mReportNextDraw) {
            mWindowDrawCountDown = new CountDownLatch(mWindowCallbacks.size());
        }
        for (int i = mWindowCallbacks.size() - 1; i >= 0; i--) {
            mWindowCallbacks.get(i).onRequestDraw(mReportNextDraw);
        }