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

Commit 5925509a authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Trace dispatchApplyInsets

Test: Take trace
Change-Id: Iec38b20c0b9c65efc3f227803c30254ed4572651
parent f31d03c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1841,6 +1841,7 @@ public final class ViewRootImpl implements ViewParent,
    }

    void dispatchApplyInsets(View host) {
        Trace.traceBegin(Trace.TRACE_TAG_VIEW, "dispatchApplyInsets");
        WindowInsets insets = getWindowInsets(true /* forceConstruct */);
        final boolean dispatchCutout = (mWindowAttributes.layoutInDisplayCutoutMode
                == LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS);
@@ -1850,6 +1851,7 @@ public final class ViewRootImpl implements ViewParent,
            insets = insets.consumeDisplayCutout();
        }
        host.dispatchApplyWindowInsets(insets);
        Trace.traceEnd(Trace.TRACE_TAG_VIEW);
    }

    InsetsController getInsetsController() {