From d40fc595401ebb299b2e5ba4b4f723fd14f57fe5 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Thu, 28 Apr 2022 17:35:56 +0800 Subject: Version v5.2.0-beta1. --- app/build.gradle | 4 ++-- .../ml/docilealligator/infinityforreddit/PullNotificationWorker.java | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 91babee1..c686e058 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "ml.docilealligator.infinityforreddit" minSdkVersion 21 targetSdkVersion 30 - versionCode 96 - versionName "5.1.9" + versionCode 97 + versionName "5.2.0-beta1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java index 80e54fea..6f49519a 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java @@ -201,10 +201,7 @@ public class PullNotificationWorker extends Worker { return Result.retry(); } } - } catch (IOException e) { - e.printStackTrace(); - return Result.retry(); - } catch (JSONException e) { + } catch (IOException | JSONException e) { e.printStackTrace(); return Result.retry(); } -- cgit v1.2.3