summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2019-05-15 15:07:02 -0700
committer Winson Chung <winsonc@google.com> 2019-05-15 15:07:02 -0700
commit784a18eaadbbed8b1dbacca6f9fcb6c75291b03b (patch)
tree1157d00fd5a77586c8c6ba50edcf5651a5a0f9d4
parent28706f020b3bb4e93703e3405c03dc459fe1a04b (diff)
Remove old logic from tinting prototype
- We support tinting in all orientations now Bug: 132699171 Test: Rotate to landscape, ensure that the nav bar continues to update Change-Id: I0fa71a693ed61092c1ac4137691334fd28b250e0
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
index d85b8acfb462..062fb6dcce92 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
@@ -967,12 +967,6 @@ public class NavigationBarView extends FrameLayout implements
// If car mode or density changes, we need to reset the icons.
updateNavButtonIcons();
}
-
- if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT) {
- mTintController.start();
- } else {
- mTintController.stop();
- }
}
/**