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

Commit ba926070 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Fix navigation bar in seascape in BackdropFrameRenderer am: 9a7d0a5f

am: cbd845ad

Change-Id: I21133f8441ec3ba6ef6a664dd382570ab95f9a1e
parents 97be53ef cbd845ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -385,7 +385,7 @@ public class BackdropFrameRenderer extends Thread implements Choreographer.Frame
            final int size = DecorView.getNavBarSize(bottomInset, rightInset, leftInset);
            if (DecorView.isNavBarToRightEdge(bottomInset, rightInset)) {
                mNavigationBarColor.setBounds(width - size, 0, width, height);
            } else if (DecorView.isNavBarToLeftEdge(bottomInset, rightInset)) {
            } else if (DecorView.isNavBarToLeftEdge(bottomInset, leftInset)) {
                mNavigationBarColor.setBounds(0, 0, size, height);
            } else {
                mNavigationBarColor.setBounds(0, height - size, width, height);