Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 235bb0ab authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Disable auto dimming when color sampling is enabled" into qt-dev am:...

Merge "Disable auto dimming when color sampling is enabled" into qt-dev am: 28706f02 am: 5479f654
am: beeb8ee8

Change-Id: Ic5ff250048c4515d9d40340d5adc78314be1f3ed
parents 0e5c0943 beeb8ee8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -107,6 +107,8 @@ public final class NavigationBarTransitions extends BarTransitions implements


    @Override
    @Override
    public void setAutoDim(boolean autoDim) {
    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;
        if (mAutoDim == autoDim) return;
        mAutoDim = autoDim;
        mAutoDim = autoDim;
        applyLightsOut(true, false);
        applyLightsOut(true, false);