| commit | c6a2ff182d2ba869917be9e70e0cea9e5f8a926c | [log] [tgz] |
|---|---|---|
| author | Jainam Shah <jainams@google.com> | Tue Feb 20 10:41:02 2024 -0800 |
| committer | Jainam Shah <jainams@google.com> | Tue Feb 20 10:41:02 2024 -0800 |
| tree | 1ac59c89f869ac719558f3d567125f8f8198ced8 | |
| parent | 6dd691cc1e83d4550fed6ba7e1e93d0d4994823c [diff] |
Close Notification Center on START_DELIVERED_TO_TOP Close the notification center when intent opens the activity that is already on top. Bug: 291808084 Test: manual Change-Id: I8e80e71bd1484969d054592239123ba7663db64e
diff --git a/src/com/android/systemui/car/notification/NotificationPanelViewController.java b/src/com/android/systemui/car/notification/NotificationPanelViewController.java index 581744c..fe3c8dc 100644 --- a/src/com/android/systemui/car/notification/NotificationPanelViewController.java +++ b/src/com/android/systemui/car/notification/NotificationPanelViewController.java
@@ -111,7 +111,8 @@ private OnNotificationClickListener mOnNotificationClickListener = (launchResult, alertEntry) -> { if (launchResult == ActivityManager.START_TASK_TO_FRONT - || launchResult == ActivityManager.START_SUCCESS) { + || launchResult == ActivityManager.START_SUCCESS + || launchResult == ActivityManager.START_DELIVERED_TO_TOP) { animateCollapsePanel(); } };