commit | ebeed0239bcec205368c168b548fa9c93af56826 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue May 14 16:22:57 2019 -0700 |
committer | Winson Chung <winsonc@google.com> | Wed May 15 11:19:11 2019 -0700 |
tree | 8cd0de4df9bcdac852700aa4d715a4736aae1479 | |
parent | 9a086d9f32175f6a16976bfacf320a648380a8e3 [diff] |
Disable auto dimming when color sampling is enabled Bug: 132371142 Test: Manual, launch app/rotate and ensure that the handle does not dim Change-Id: I2616dd81b8453e7d8fb196273499db373a10fa93
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java index 9e0aff0..3b3336b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
@@ -107,6 +107,8 @@ @Override public void setAutoDim(boolean autoDim) { + // Ensure we aren't in gestural nav if we are triggering auto dim + if (autoDim && NavBarTintController.isEnabled(mView.getContext(), mNavBarMode)) return; if (mAutoDim == autoDim) return; mAutoDim = autoDim; applyLightsOut(true, false);