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

Commit a6d4f5a4 authored by linkai's avatar linkai Committed by kai lin
Browse files

Update log info.



Bug:256091072

1. Update the method name of log in PMS#updatePowerGroupsLocked().
2. Replace mAmbientLux with mPreThresholdLux because mFastAmbientLux equals to mAmbientLux after ABC#setAmbientLux(mFastAmbientLux).

Signed-off-by: default avatarlinkai <linkai@xiaomi.com>
Change-Id: I1f871bdc4a9e4f910f16a9c284715bdc341c1ea4
parent 2e70f726
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -941,7 +941,7 @@ public class AutomaticBrightnessController {
            setAmbientLux(mFastAmbientLux);
            if (mLoggingEnabled) {
                Slog.d(TAG, "updateAmbientLux: "
                        + ((mFastAmbientLux > mAmbientLux) ? "Brightened" : "Darkened") + ": "
                        + ((mFastAmbientLux > mPreThresholdLux) ? "Brightened" : "Darkened") + ": "
                        + "mAmbientBrighteningThreshold=" + mAmbientBrighteningThreshold + ", "
                        + "mAmbientDarkeningThreshold=" + mAmbientDarkeningThreshold + ", "
                        + "mAmbientLightRingBuffer=" + mAmbientLightRingBuffer + ", "
+1 −1
Original line number Diff line number Diff line
@@ -3584,7 +3584,7 @@ public final class PowerManagerService extends SystemService
                        mBrightWhenDozingConfig);
                int wakefulness = powerGroup.getWakefulnessLocked();
                if (DEBUG_SPEW) {
                    Slog.d(TAG, "updateDisplayPowerStateLocked: displayReady=" + ready
                    Slog.d(TAG, "updatePowerGroupsLocked: displayReady=" + ready
                            + ", groupId=" + groupId
                            + ", policy=" + policyToString(powerGroup.getPolicyLocked())
                            + ", mWakefulness="