Skip to content

Commit 6c3da7f

Browse files
Johan AlfvenJohan Redestig
authored andcommitted
Corrected debug message in WindowManager
When WindowManager reports "Key dispatching timed out" it prints out information about the window state that was present at the time the key was sent to that window. There is a minor error in the class representing the recorded window state so that the currently focused window is printed instead of the recorded focused window. Change-Id: I29a5471ef725e30f812ffd57fd4597ce81c0c7f2
1 parent 26abeae commit 6c3da7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/WindowManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5478,7 +5478,7 @@ public String toString() {
54785478
+ " fin=" + finished + " gfw=" + gotFirstWindow
54795479
+ " ed=" + eventDispatching + " tts=" + timeToSwitch
54805480
+ " wf=" + wasFrozen + " fp=" + focusPaused
5481-
+ " mcf=" + mCurrentFocus + "}}";
5481+
+ " mcf=" + curFocus + "}}";
54825482
}
54835483
};
54845484
private DispatchState mDispatchState = null;

0 commit comments

Comments
 (0)