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

Commit beeb8ee8 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: 28706f02

am: 5479f654

Change-Id: I17c2769a6ae5d8716f4c02f5ddf4eaa156ec5e58
parents 41d275db 5479f654
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -107,6 +107,8 @@ public final class NavigationBarTransitions extends BarTransitions implements

    @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);