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

Commit e5e8e753 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Properly remove edge panels"

parents 284262e4 33fa275e
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -1252,9 +1252,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
            mButtonDispatchers.valueAt(i).onDestroy();
        }

        if (mPrototypeController.isEnabled()) {
            WindowManager wm = (WindowManager) getContext()
                    .getSystemService(Context.WINDOW_SERVICE);
        WindowManager wm = (WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE);
        if (mLeftEdgePanel != null) {
            wm.removeView(mLeftEdgePanel);
        }
@@ -1262,7 +1260,6 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
            wm.removeView(mRightEdgePanel);
        }
    }
    }

    private void setUpSwipeUpOnboarding(boolean connectedToOverviewProxy) {
        if (connectedToOverviewProxy) {