Fix issue with dialer launch transition am: db93133782

am: 1a5f0c7ca8

Change-Id: Id8384736c70d82b9ef95e4cb805dde08f039dc04
This commit is contained in:
Jorim Jaggi
2017-06-06 20:41:13 +00:00
committed by android-build-merger

View File

@@ -3606,6 +3606,12 @@ public class StatusBar extends SystemUI implements DemoMode,
// Do it after DismissAction has been processed to conserve the needed ordering.
mHandler.post(this::runPostCollapseRunnables);
}
} else if (isInLaunchTransition() && mNotificationPanel.isLaunchTransitionFinished()) {
// We are not dismissing the shade, but the launch transition is already finished,
// so nobody will call readyForKeyguardDone anymore. Post it such that
// keyguardDonePending gets called first.
mHandler.post(mStatusBarKeyguardViewManager::readyForKeyguardDone);
}
return deferred;
}, cancelAction, afterKeyguardGone);