commit | 3e142540f95a2cb0dfaf098aefbab889b38c3bb1 | [log] [tgz] |
---|---|---|
author | Rakesh Iyer <rni@google.com> | Fri Sep 02 12:01:02 2016 -0700 |
committer | Rakesh Iyer <rni@google.com> | Fri Sep 02 20:04:47 2016 +0000 |
tree | f6396c393f0fc841999e182399b8d7e7b21cfb7c | |
parent | 69f981e9e904a29c1d281857846e02eeb64e6bc9 [diff] |
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
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java index 6e6ece2..cf87ddd 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java
@@ -148,7 +148,7 @@ mController = new CarNavigationBarController(context, mCarNavigationBar, this /* ActivityStarter*/); mNavigationBarView = mCarNavigationBar; - + mCarNavigationBar.getBarTransitions().setAlwaysOpaque(true); } @Override