summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,