Set always opaque flag on CarNavigationBar.

The navigation bar is more like a set of shortcuts on auto and
it doesn't make much sense for the application to be able to set
it to translucent.

Change-Id: Ibe0bcdd43b7b1c968a414bfe7de024a8422ee883
This commit is contained in:
Rakesh Iyer
2016-09-02 12:01:02 -07:00
parent 69f981e9e9
commit 3e142540f9

View File

@@ -148,7 +148,7 @@ public class CarStatusBar extends PhoneStatusBar implements
mController = new CarNavigationBarController(context, mCarNavigationBar,
this /* ActivityStarter*/);
mNavigationBarView = mCarNavigationBar;
mCarNavigationBar.getBarTransitions().setAlwaysOpaque(true);
}
@Override