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

Commit 8b26f5ee authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by android-build-merger
Browse files

Fix NPE

am: 4b812526

Change-Id: Iacf933a5c137cde4ca8215588be2dd6583641cc3
parents 4ff27f97 4b812526
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9913,7 +9913,7 @@ public class WindowManagerService extends IWindowManager.Stub
            // We may need to schedule some toast windows to be removed. The
            // toasts for an app that does not have input focus are removed
            // within a timeout to prevent apps to redress other apps' UI.
            oldFocus.getDisplayContent().scheduleToastWindowsTimeoutIfNeededLocked(
            getDefaultDisplayContentLocked().scheduleToastWindowsTimeoutIfNeededLocked(
                        oldFocus, newFocus);

            Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER);