From 9b6a5709390f4550e74cceee4a20900759097143 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 24 Feb 2022 12:41:32 +0100 Subject: [PATCH] bump agp --- build.gradle | 2 +- .../eu/siacs/conversations/crypto/PgpDecryptionService.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 67e995bea..54186f6d2 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.1' + classpath 'com.android.tools.build:gradle:7.1.2' } } diff --git a/src/main/java/eu/siacs/conversations/crypto/PgpDecryptionService.java b/src/main/java/eu/siacs/conversations/crypto/PgpDecryptionService.java index 9a2288884..a676e5d5d 100644 --- a/src/main/java/eu/siacs/conversations/crypto/PgpDecryptionService.java +++ b/src/main/java/eu/siacs/conversations/crypto/PgpDecryptionService.java @@ -148,9 +148,6 @@ public class PgpDecryptionService { try { os.flush(); final String body = os.toString(); - if (body == null) { - throw new IOException("body was null"); - } message.setBody(body); message.setEncryption(Message.ENCRYPTION_DECRYPTED); final HttpConnectionManager manager = mXmppConnectionService.getHttpConnectionManager();