Bringing DPC and DPC2 in sync

Bug: 249773228
Test: Manual
Change-Id: Ic2422d6aaccbcfa821c594e537bf3d4558c48f14
This commit is contained in:
Rupesh Bansal
2022-09-29 17:03:11 +00:00
parent 0f4150919e
commit e1e1b1283c

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 =