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

Commit 99e5c70f authored by Riddle Hsu's avatar Riddle Hsu Committed by Gerrit Code Review
Browse files

Merge "Avoid the scenario where Contexts list filled with null value in ShowAnrDialogs()"

parents a4d60ac1 895d9818
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -908,7 +908,7 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio
                final int displayId = r.getDisplayId();
                final Context c = root.getDisplayUiContext(displayId);

                if (r.mVisibleRequested && !displayContexts.contains(c)) {
                if (c != null && r.mVisibleRequested && !displayContexts.contains(c)) {
                    displayContexts.add(c);
                }
            }