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

Commit b36ba904 authored by Fan Zhang's avatar Fan Zhang
Browse files

Fix a NPE in ViewRootImpl

Fixes: 120229477
Test: make RunSettingsRoboTests -j40
Change-Id: I82f6c5fe5f553399c368bf30eef73b2d7f60d046
parent e656e67e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -459,7 +459,7 @@ public final class ViewRootImpl implements ViewParent,
    final DisplayCutout.ParcelableWrapper mPendingDisplayCutout =
            new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
    boolean mPendingAlwaysConsumeNavBar;
    private InsetsState mPendingInsets;
    private InsetsState mPendingInsets = new InsetsState();
    final ViewTreeObserver.InternalInsetsInfo mLastGivenInsets
            = new ViewTreeObserver.InternalInsetsInfo();