Fix navigation bar in seascape in BackdropFrameRenderer

am: 9a7d0a5f84

Change-Id: If63b339fd838172fb084ccf664b7d90dce5d2254
This commit is contained in:
Jorim Jaggi
2016-08-09 21:37:24 +00:00
committed by android-build-merger

View File

@@ -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);