Fix issue with dialer launch transition

am: db93133782

Change-Id: Id1808ca8d1f2547ecb85679c4b7697ee37f69d9f
This commit is contained in:
Jorim Jaggi
2017-06-06 20:30:08 +00:00
committed by android-build-merger

View File

@@ -3556,6 +3556,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);