summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2024-06-03 12:46:07 +0000
committer Robin Lee <rgl@google.com> 2024-12-09 15:38:46 +0000
commitcd1202d3cea10e67d16449d2201c1364be6333b4 (patch)
tree3ea4a762fc255932a39035bd86242b5ace764f35
parent391624d5359410d8d9b5cd2d727d7712c79e8899 (diff)
Delete noisy "try handler %s" log from ShellTransit
These always come up in the same order in reality, and we only care about which handler actually played the animation. What is more interesting is which handler we might have skipped over, so we can log that instead of all the handlers we offered the transition to. Change-Id: I37c8caad27d6a2adb7a23b9cb7464705aa3417fd Flag: EXEMPT logging change with no functional effect
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java b/libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java
index 3f191497e1ed..7335ae6f7785 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java
@@ -1077,9 +1077,11 @@ public class Transitions implements RemoteCallable<Transitions>,
@Nullable TransitionHandler skip
) {
for (int i = mHandlers.size() - 1; i >= 0; --i) {
- if (mHandlers.get(i) == skip) continue;
- ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " try handler %s",
- mHandlers.get(i));
+ if (mHandlers.get(i) == skip) {
+ ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TRANSITIONS, " skip handler %s",
+ mHandlers.get(i));
+ continue;
+ }
boolean consumed = mHandlers.get(i).startAnimation(transition, info, startT, finishT,
finishCB);
if (consumed) {