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

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

Merge "Fix system crash in Atms.notifyKeyguardFlagsChanged."

parents cc88db5a 52ea28e0
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -5625,8 +5625,12 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {

                // We might change the visibilities here, so prepare an empty app transition which
                // might be overridden later if we actually change visibilities.
                final DisplayWindowController dwc = mStackSupervisor.getActivityDisplay(displayId)
                        .getWindowContainerController();
                final ActivityDisplay activityDisplay =
                        mStackSupervisor.getActivityDisplay(displayId);
                if (activityDisplay == null) {
                    return;
                }
                final DisplayWindowController dwc = activityDisplay.getWindowContainerController();
                final boolean wasTransitionSet = dwc.getPendingAppTransition() != TRANSIT_NONE;
                if (!wasTransitionSet) {
                    dwc.prepareAppTransition(TRANSIT_NONE, false /* alwaysKeepCurrent */);