summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Pragya Bajoria <pragyabajoria@google.com> 2024-07-19 01:55:11 +0000
committer Pragya Bajoria <pragyabajoria@google.com> 2024-07-19 01:56:48 +0000
commiteb30600042d282afd754d3f71cfec925b64745a6 (patch)
treecc83e22e5cc20645eedf966286e8fa0bcc1c3195
parent8350f4b8c46e7a043a1b863abb4274b9d750dc57 (diff)
Update the ProtoLog statement in DesktopModeLoggerTransitionObserver to avoid crash.
Change-Id: I1a9b7ad10f8cfdbc84226ae567fbaf7edababfd1 Bug: 353929055 Flag: EXEMPT (syntax fix)
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeLoggerTransitionObserver.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeLoggerTransitionObserver.kt b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeLoggerTransitionObserver.kt
index 066b5ad39d0f..73aa7ceea68d 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeLoggerTransitionObserver.kt
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeLoggerTransitionObserver.kt
@@ -347,7 +347,7 @@ class DesktopModeLoggerTransitionObserver(
else -> {
ProtoLog.w(
WM_SHELL_DESKTOP_MODE,
- "Unknown enter reason for transition type ${transitionInfo.type}",
+ "Unknown enter reason for transition type: %s",
transitionInfo.type
)
EnterReason.UNKNOWN_ENTER
@@ -368,7 +368,7 @@ class DesktopModeLoggerTransitionObserver(
else -> {
ProtoLog.w(
WM_SHELL_DESKTOP_MODE,
- "Unknown exit reason for transition type ${transitionInfo.type}",
+ "Unknown exit reason for transition type: %s",
transitionInfo.type
)
ExitReason.UNKNOWN_EXIT