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

Commit 1e672d55 authored by Adrian Roos's avatar Adrian Roos Committed by Automerger Merge Worker
Browse files

Merge "WindowInsetsController: make available after addView" into rvc-dev am: 1cd9750a

Change-Id: I8e3988fa96be501caf3447dc258ed80cdb1339e7
parents e4acbd16 1cd9750a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -11519,6 +11519,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        ViewParent parent = getParent();
        if (parent instanceof View) {
            return ((View) parent).getWindowInsetsController();
        } else if (parent instanceof ViewRootImpl) {
            // Between WindowManager.addView() and the first traversal AttachInfo isn't set yet.
            return ((ViewRootImpl) parent).getInsetsController();
        }
        return null;
    }