summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kenneth Ford <kennethford@google.com> 2024-08-12 20:34:23 +0000
committer Kenneth Ford <kennethford@google.com> 2024-08-12 21:10:04 +0000
commita7ece644c59bfbaffdc2ccb684ffcb043806e2bd (patch)
tree6e50223a3eb96e011309c1ef4b26325f486b5cbe
parentcdd4658347af127518a997d5259fe9071cad597f (diff)
Fix LogicalDisplayMapper Log line to just log device state identifier
Flag: EXEMPT refactor Bug: 359312852 Test: Build and observe logs Change-Id: I6353eaa9f5fd105fb89f1e49e5296c5128abeb65
-rw-r--r--services/core/java/com/android/server/display/LogicalDisplayMapper.java6
1 files 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