Rename mBrighteningLuxThreshold to mAmbientBrighteningThreshold in ABC

log info.

the global variant mBrighteningLuxThreshold in the log info is not exist,
it's more reasonable to change mBrighteningLuxThreshold to mAmbientBrighteningThreshold.

Bug: 274655714

Test:
1. adb shell cmd display ab-logging-enable
2. adb logcat | grep updateAmbientLux

Change-Id: I88b0425b9f638cf0e20d175a7cbe283a54816852
Signed-off-by: jiayongqiang <jiayongqiang@xiaomi.com>
This commit is contained in:
jiayongqiang
2023-03-22 21:59:39 +08:00
parent e347e926c8
commit e00f77af67

View File

@@ -883,7 +883,7 @@ class AutomaticBrightnessController {
if (mLoggingEnabled) {
Slog.d(TAG, "updateAmbientLux: "
+ ((mFastAmbientLux > mAmbientLux) ? "Brightened" : "Darkened") + ": "
+ "mBrighteningLuxThreshold=" + mAmbientBrighteningThreshold + ", "
+ "mAmbientBrighteningThreshold=" + mAmbientBrighteningThreshold + ", "
+ "mAmbientDarkeningThreshold=" + mAmbientDarkeningThreshold + ", "
+ "mAmbientLightRingBuffer=" + mAmbientLightRingBuffer + ", "
+ "mAmbientLux=" + mAmbientLux);