From 4e0ea41e175ba7781b777b640beefb66995948d4 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 28 Sep 2018 06:45:49 +0000 Subject: [PATCH] Revert "Why?" This reverts commit 672c5bab8a58216149b37c8c56376863460f02ff. --- .../java/eu/faircode/email/ServiceSynchronize.java | 12 ------------ app/src/main/res/values/strings.xml | 1 - 2 files changed, 13 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 511576c1fc..7145383d38 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -341,18 +341,6 @@ public class ServiceSynchronize extends LifecycleService { if (unsent > 0) builder.setContentText(getResources().getQuantityString(R.plurals.title_notification_unsent, unsent, unsent)); - Intent why = new Intent(Intent.ACTION_VIEW); - why.setData(Uri.parse("https://github.com/M66B/open-source-email/blob/master/FAQ.md#FAQ2")); - PendingIntent piWhy = PendingIntent.getActivity(this, 0, why, PendingIntent.FLAG_UPDATE_CURRENT); - - Notification.Action.Builder actionWhy = new Notification.Action.Builder( - Icon.createWithResource(this, R.drawable.baseline_info_24), - getString(R.string.title_notification_why), - piWhy); - - if (why.resolveActivity(getPackageManager()) != null) - builder.addAction(actionWhy.build()); - return builder; } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6e039fcb2e..f519899701 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -29,7 +29,6 @@ %1$d unsent messages - Why? \'%1$s\' failed Setup