aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle4
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java5
2 files changed, 3 insertions, 6 deletions
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();
}