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

Commit d923c1fc authored by Tony Huang's avatar Tony Huang Committed by Automerger Merge Worker
Browse files

Merge "Fix split caused apps ANR" into sc-v2-dev am: ffc8ccea am: 960c4e1d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15433213

Change-Id: Ia880bf1623760e0142577641c5565683359d0a32
parents 123163ba 960c4e1d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -9936,7 +9936,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);
        }