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

Commit e1e1b128 authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

Bringing DPC and DPC2 in sync

Bug: 249773228
Test: Manual
Change-Id: Ic2422d6aaccbcfa821c594e537bf3d4558c48f14
parent 0f415091
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -989,8 +989,8 @@ final class DisplayPowerController2 implements AutomaticBrightnessController.Cal
                    R.array.config_screenBrighteningThresholds);
            int[] screenDarkeningThresholds = resources.getIntArray(
                    R.array.config_screenDarkeningThresholds);
            int[] screenThresholdLevels = resources.getIntArray(
                    R.array.config_screenThresholdLevels);
            float[] screenThresholdLevels = BrightnessMappingStrategy.getFloatArray(resources
                    .obtainTypedArray(com.android.internal.R.array.config_screenThresholdLevels));
            float screenDarkeningMinThreshold =
                    mDisplayDeviceConfig.getScreenDarkeningMinThreshold();
            float screenBrighteningMinThreshold =