aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-04-28 09:35:56 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-04-28 09:35:56 +0000
commitd40fc595401ebb299b2e5ba4b4f723fd14f57fe5 (patch)
treeee50ebea0b3b1408879fdbce8750ae7c7688dd5d
parent77ed06dac1c27f331d1af51e0e60c137718880b5 (diff)
downloadinfinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.gz
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.bz2
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.lz
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.xz
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.zst
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.zip
Version v5.2.0-beta1.
Diffstat (limited to '')
-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();
}