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

Commit 3931a3e6 authored by Kenny Guy's avatar Kenny Guy
Browse files

Fix slider interaction collection.

Brightness changes were always considered temporary
so we skipped notifying the tracker.

Bug: 79990855
Test: atest android.display.cts.BrightnessTest
Change-Id: I5702694218c9811f9f1413d8aed3cb57063ea1c8
parent fd12af84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -815,7 +815,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
            mAppliedTemporaryAutoBrightnessAdjustment = true;
        } else {
            autoBrightnessAdjustment = mAutoBrightnessAdjustment;
            mAppliedTemporaryAutoBrightnessAdjustment = true;
            mAppliedTemporaryAutoBrightnessAdjustment = false;
        }

        // Apply brightness boost.