From c58093959a5a15db7f5ef96a51eb3d2f52939488 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 24 Sep 2021 13:59:40 +0200 Subject: [PATCH] Android 12 compatibility --- app/src/main/java/eu/faircode/email/ActivityView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index b4e81e04d8..8cb70661b3 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -1408,7 +1408,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB if (!TextUtils.isEmpty(info.download_url)) { Intent download = new Intent(Intent.ACTION_VIEW, Uri.parse(info.download_url)) .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - PendingIntent piDownload = PendingIntent.getActivity( + PendingIntent piDownload = PendingIntentCompat.getActivity( ActivityView.this, 0, download, 0); NotificationCompat.Action.Builder actionDownload = new NotificationCompat.Action.Builder( R.drawable.twotone_cloud_download_24,