Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce296e89 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log the exception when the view couldn't get added" into main

parents bf827433 a629d023
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {