summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Li <pyli@google.com>2021-10-05 00:10:59 -0700
committerPeter Li <pyli@google.com>2021-10-05 00:11:02 -0700
commit42c3b8de497e27efc8c4c9304f75f04324945314 (patch)
tree578dd2fc5d70b6ac8f7641bc87fc4eb1c93b1c96
parent5062906247c9f5be74310f01056fdd02c2a14107 (diff)
downloadMessenger-42c3b8de497e27efc8c4c9304f75f04324945314.tar.gz
Fix activity backstack on HUD tap
Fix: 197153503 Test: Manual Change-Id: Iff8b96fd308f9602b875b5bba828bfeaec0e2261
-rw-r--r--src/com/android/car/messenger/core/shared/NotificationHandler.java8
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,