diff options
| author | 2025-01-07 10:06:55 -0800 | |
|---|---|---|
| committer | 2025-01-07 10:06:55 -0800 | |
| commit | ce296e89232e5405ef393fc8c1bed1582994c855 (patch) | |
| tree | 5e2a75dbc7ce348873f8783c5d7ef1ef70b03aaf | |
| parent | bf827433a5ba609ee2357ddcf70bc3c8b42c6839 (diff) | |
| parent | a629d023d482c5a986031d29b45a5ccbeb68dce3 (diff) | |
Merge "Log the exception when the view couldn't get added" into main
| -rw-r--r-- | core/java/android/view/WindowManagerGlobal.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManagerGlobal.java b/core/java/android/view/WindowManagerGlobal.java index f50ea9106a61..25bd713d9191 100644 --- a/core/java/android/view/WindowManagerGlobal.java +++ b/core/java/android/view/WindowManagerGlobal.java @@ -453,6 +453,7 @@ public final class WindowManagerGlobal { try { root.setView(view, wparams, panelParentView, userId); } catch (RuntimeException e) { + Log.e(TAG, "Couldn't add view: " + view, e); final int viewIndex = (index >= 0) ? index : (mViews.size() - 1); // BadTokenException or InvalidDisplayException, clean up. if (viewIndex >= 0) { |