commit | 54f25b4a7ce36d1db32d58c3e9a449460f1f3479 | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Tue Feb 27 08:32:15 2018 -0800 |
committer | Wale Ogunwale <ogunwale@google.com> | Tue Feb 27 08:32:15 2018 -0800 |
tree | c1d3d3dc4e840414c3155646b4b738d6ff6ce98b | |
parent | 64265d4dcef6b91001f629a5bf5edd013b32b701 [diff] |
Added more info. to exception while creating display in WM. To help figure-out root cause of issue. Bug: 72893961 Test: Builds Change-Id: If1ae4f80f01490e2460b0a9db7a481fa2c0046e8
diff --git a/services/core/java/com/android/server/wm/DisplayWindowController.java b/services/core/java/com/android/server/wm/DisplayWindowController.java index 0e12838..e3e4a46 100644 --- a/services/core/java/com/android/server/wm/DisplayWindowController.java +++ b/services/core/java/com/android/server/wm/DisplayWindowController.java
@@ -50,7 +50,9 @@ } if (mContainer == null) { - throw new IllegalArgumentException("Trying to add displayId=" + displayId); + throw new IllegalArgumentException("Trying to add displayId=" + displayId + + " display=" + display + + " dc=" + mRoot.getDisplayContent(displayId)); } } }