From a7ece644c59bfbaffdc2ccb684ffcb043806e2bd Mon Sep 17 00:00:00 2001 From: Kenneth Ford Date: Mon, 12 Aug 2024 20:34:23 +0000 Subject: Fix LogicalDisplayMapper Log line to just log device state identifier Flag: EXEMPT refactor Bug: 359312852 Test: Build and observe logs Change-Id: I6353eaa9f5fd105fb89f1e49e5296c5128abeb65 --- .../core/java/com/android/server/display/LogicalDisplayMapper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/core/java/com/android/server/display/LogicalDisplayMapper.java b/services/core/java/com/android/server/display/LogicalDisplayMapper.java index e9ecfc67b7db..98c031f56bd8 100644 --- a/services/core/java/com/android/server/display/LogicalDisplayMapper.java +++ b/services/core/java/com/android/server/display/LogicalDisplayMapper.java @@ -477,14 +477,14 @@ class LogicalDisplayMapper implements DisplayDeviceRepository.Listener { // The boot animation might still be in progress, we do not want to switch states now // as the boot animation would end up with an incorrect size. if (DEBUG) { - Slog.d(TAG, "Postponing transition to state: " + mPendingDeviceState - + " until boot is completed"); + Slog.d(TAG, "Postponing transition to state: " + + mPendingDeviceState.getIdentifier() + " until boot is completed"); } mDeviceStateToBeAppliedAfterBoot = state; return; } - Slog.i(TAG, "Requesting Transition to state: " + state + ", from state=" + Slog.i(TAG, "Requesting Transition to state: " + state.getIdentifier() + ", from state=" + mDeviceState.getIdentifier() + ", interactive=" + mInteractive + ", mBootCompleted=" + mBootCompleted); // As part of a state transition, we may need to turn off some displays temporarily so that -- cgit v1.2.3-59-g8ed1b