Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +9 −3 Original line number Diff line number Diff line Loading @@ -6821,7 +6821,6 @@ public class StatusBar extends SystemUI implements DemoMode, } }); final boolean keyguardShowing = mStatusBarKeyguardViewManager.isShowing(); final boolean afterKeyguardGone = intent.isActivity() && PreviewInflater.wouldLaunchResolverActivity(mContext, intent.getIntent(), mCurrentUserId); Loading @@ -6848,7 +6847,7 @@ public class StatusBar extends SystemUI implements DemoMode, } } final StatusBarNotification parentToCancelFinal = parentToCancel; new Thread() { final Runnable runnable = new Runnable() { @Override public void run() { try { Loading Loading @@ -6920,7 +6919,14 @@ public class StatusBar extends SystemUI implements DemoMode, }); } } }.start(); }; if (mStatusBarKeyguardViewManager.isShowing() && mStatusBarKeyguardViewManager.isOccluded()) { mStatusBarKeyguardViewManager.addAfterKeyguardGoneRunnable(runnable); } else { new Thread(runnable).start(); } // close the shade if it was open animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL, Loading services/core/java/com/android/server/am/ActivityManagerService.java +12 −2 Original line number Diff line number Diff line Loading @@ -23945,10 +23945,20 @@ public class ActivityManagerService extends IActivityManager.Stub // We might change the visibilities here, so prepare an empty app transition which // might be overridden later if we actually change visibilities. mWindowManager.prepareAppTransition(TRANSIT_NONE, false /* alwaysKeepCurrent */); final boolean wasTransitionSet = mWindowManager.getPendingAppTransition() != TRANSIT_NONE; if (!wasTransitionSet) { mWindowManager.prepareAppTransition(TRANSIT_NONE, false /* alwaysKeepCurrent */); } mStackSupervisor.ensureActivitiesVisibleLocked(null, 0, !PRESERVE_WINDOWS); // If there was a transition set already we don't want to interfere with it as we // might be starting it too early. if (!wasTransitionSet) { mWindowManager.executeAppTransition(); } } if (callback != null) { callback.run(); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +9 −3 Original line number Diff line number Diff line Loading @@ -6821,7 +6821,6 @@ public class StatusBar extends SystemUI implements DemoMode, } }); final boolean keyguardShowing = mStatusBarKeyguardViewManager.isShowing(); final boolean afterKeyguardGone = intent.isActivity() && PreviewInflater.wouldLaunchResolverActivity(mContext, intent.getIntent(), mCurrentUserId); Loading @@ -6848,7 +6847,7 @@ public class StatusBar extends SystemUI implements DemoMode, } } final StatusBarNotification parentToCancelFinal = parentToCancel; new Thread() { final Runnable runnable = new Runnable() { @Override public void run() { try { Loading Loading @@ -6920,7 +6919,14 @@ public class StatusBar extends SystemUI implements DemoMode, }); } } }.start(); }; if (mStatusBarKeyguardViewManager.isShowing() && mStatusBarKeyguardViewManager.isOccluded()) { mStatusBarKeyguardViewManager.addAfterKeyguardGoneRunnable(runnable); } else { new Thread(runnable).start(); } // close the shade if it was open animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL, Loading
services/core/java/com/android/server/am/ActivityManagerService.java +12 −2 Original line number Diff line number Diff line Loading @@ -23945,10 +23945,20 @@ public class ActivityManagerService extends IActivityManager.Stub // We might change the visibilities here, so prepare an empty app transition which // might be overridden later if we actually change visibilities. mWindowManager.prepareAppTransition(TRANSIT_NONE, false /* alwaysKeepCurrent */); final boolean wasTransitionSet = mWindowManager.getPendingAppTransition() != TRANSIT_NONE; if (!wasTransitionSet) { mWindowManager.prepareAppTransition(TRANSIT_NONE, false /* alwaysKeepCurrent */); } mStackSupervisor.ensureActivitiesVisibleLocked(null, 0, !PRESERVE_WINDOWS); // If there was a transition set already we don't want to interfere with it as we // might be starting it too early. if (!wasTransitionSet) { mWindowManager.executeAppTransition(); } } if (callback != null) { callback.run(); }