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

Commit 6d6c5dac authored by Daniel Solomon's avatar Daniel Solomon Committed by Android (Google) Code Review
Browse files

Merge "Clear display white balance transform when disabled"

parents 9c79041c 86508f87
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -868,6 +868,12 @@ public final class ColorDisplayService extends SystemService {
        if (mDisplayWhiteBalanceListener != null && oldActivated != activated) {
            mDisplayWhiteBalanceListener.onDisplayWhiteBalanceStatusChanged(activated);
        }

        // If disabled, clear the tint. If enabled, do nothing more here and let the next
        // temperature update set the correct tint.
        if (!activated) {
            applyTint(mDisplayWhiteBalanceTintController, false);
        }
    }

    private boolean isDisplayWhiteBalanceSettingEnabled() {