diff options
| author | 2019-01-04 15:46:08 -0800 | |
|---|---|---|
| committer | 2019-01-04 15:46:08 -0800 | |
| commit | 5433bcac84355a0787b0cacd0e449384a69ad915 (patch) | |
| tree | d20bcd87c1c993351c81c001c6f325c4a44655aa | |
| parent | 0ef75b19427d345e44acc7b9fe8538d45111bbac (diff) | |
Remove conflicting parameter "a" from WMService dump
The parameter "a" was simultaneously declared as short version for
the parameters "animator" and for "all".
Due to the If-Else chain the parameter parameter was equivalent to
"animator" and not "all".
Test: Run "adb shell dumpsys window a". Check if it dumps the animator
content. To dump all content use "adb shell dumpsys window all".
Change-Id: Icc8a53c74e565cfc012284418798812b8206919e
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/WindowManagerService.java b/services/core/java/com/android/server/wm/WindowManagerService.java index b6a4a51c41f2..62426d28735b 100644 --- a/services/core/java/com/android/server/wm/WindowManagerService.java +++ b/services/core/java/com/android/server/wm/WindowManagerService.java @@ -6158,7 +6158,7 @@ public class WindowManagerService extends IWindowManager.Stub dumpWindowsLocked(pw, true, null); } return; - } else if ("all".equals(cmd) || "a".equals(cmd)) { + } else if ("all".equals(cmd)) { synchronized (mGlobalLock) { dumpWindowsLocked(pw, true, null); } |