Browse Source

Fix broken call notifications

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 5 years ago
parent
commit
0c73a75990
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java

+ 1 - 1
app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.java

@@ -452,7 +452,7 @@ public class NotificationWorker extends Worker {
                                 intent = new Intent(context, MainActivity.class);
                             }
 
-                            intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
+                            intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
 
                             if (!signatureVerification.getUserEntity().hasSpreedFeatureCapability
                                     ("no-ping")) {