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

Commit 3aef7134 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Avoid the scenario where Contexts list filled with null value in...

Merge "Avoid the scenario where Contexts list filled with null value in ShowAnrDialogs()" into sc-v2-dev
parents c0541f5b fd53e576
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -952,7 +952,7 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio
                final int displayId = r.getDisplayId();
                final int displayId = r.getDisplayId();
                final Context c = root.getDisplayUiContext(displayId);
                final Context c = root.getDisplayUiContext(displayId);


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