Merge "Fix navigation bar in seascape in BackdropFrameRenderer" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
529319d81d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user