Fixed an issue where the notification wouldn't collapse
When clicking on a notification with an activity that wouldn't start an opening animation, the panel could remain open. We're now closing it in that case. Fixes: 138468703 Test: follow test on bug and observe normal closing Change-Id: I0b867302d616c017d82f944ee983d4ba4356701a
This commit is contained in:
@@ -153,6 +153,7 @@ public class ActivityLaunchAnimator {
|
||||
if (primary == null) {
|
||||
setAnimationPending(false);
|
||||
invokeCallback(iRemoteAnimationFinishedCallback);
|
||||
mNotificationPanel.collapse(false /* delayed */, 1.0f /* speedUpFactor */);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user