diff options
author | Peter Li <pyli@google.com> | 2021-10-06 06:07:03 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-10-06 06:07:03 +0000 |
commit | 4fff6c035735294439663b2d37e2861c7ef7d109 (patch) | |
tree | 578dd2fc5d70b6ac8f7641bc87fc4eb1c93b1c96 | |
parent | 33980407758ea724b1a8a941c5f645eae48e6ced (diff) | |
parent | 42c3b8de497e27efc8c4c9304f75f04324945314 (diff) | |
download | Messenger-4fff6c035735294439663b2d37e2861c7ef7d109.tar.gz |
Fix activity backstack on HUD tap am: 42c3b8de49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/Messenger/+/15978925
Change-Id: I58ba08dc67cc74f321b97468adcfb690df19f416
-rw-r--r-- | src/com/android/car/messenger/core/shared/NotificationHandler.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/com/android/car/messenger/core/shared/NotificationHandler.java b/src/com/android/car/messenger/core/shared/NotificationHandler.java index ddee570..167c283 100644 --- a/src/com/android/car/messenger/core/shared/NotificationHandler.java +++ b/src/com/android/car/messenger/core/shared/NotificationHandler.java @@ -79,12 +79,8 @@ public class NotificationHandler { private static PendingIntent createContentIntent() { Context context = AppFactory.get().getContext(); - Intent intent = - new Intent(context, MessageLauncherActivity.class) - .addFlags( - Intent.FLAG_ACTIVITY_NEW_TASK - | Intent.FLAG_ACTIVITY_CLEAR_TOP - | Intent.FLAG_ACTIVITY_SINGLE_TOP); + Intent intent = new Intent(context, MessageLauncherActivity.class) + .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); return PendingIntent.getActivity( context, |