commit | 7c236e9ca79ac7ea50449f77709bbc1f5dcd4b79 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Jul 26 21:47:19 2019 -0700 |
committer | Selim Cinek <cinek@google.com> | Fri Jul 26 21:47:19 2019 -0700 |
tree | c69709b2f9e0d610bf1e51eb373098de855b6dde | |
parent | bde6a92a5537d86a85eee69fee47dc04ff06a428 [diff] |
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
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/ActivityLaunchAnimator.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/ActivityLaunchAnimator.java index 0d9f4e7..91d4707 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/ActivityLaunchAnimator.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/ActivityLaunchAnimator.java
@@ -153,6 +153,7 @@ if (primary == null) { setAnimationPending(false); invokeCallback(iRemoteAnimationFinishedCallback); + mNotificationPanel.collapse(false /* delayed */, 1.0f /* speedUpFactor */); return; }