Merge "Bringing DPC and DPC2 in sync"

This commit is contained in:
Rupesh Bansal
2022-09-30 12:50:21 +00:00
committed by Android (Google) Code Review

View File

@@ -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 =