From 472611cc0eccc79ce5f873abc21a14f8913c952f Mon Sep 17 00:00:00 2001 From: Unpublished Date: Wed, 13 Mar 2019 11:39:17 +0100 Subject: [PATCH] Bump androidsvg from 1.2.2-beta-1 to 1.3 --- app/build.gradle | 2 +- app/src/main/java/com/gh4a/utils/HttpImageGetter.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0601c7b47..7b77b221d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -91,7 +91,7 @@ dependencies { implementation 'com.github.maniac103:rxloader:master-SNAPSHOT' implementation 'com.github.maniac103:githubsdk:0.5.1.8' implementation 'com.larswerkman:HoloColorPicker:1.5@aar' - implementation 'com.caverock:androidsvg:1.2.2-beta-1@aar' + implementation 'com.caverock:androidsvg-aar:1.3' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.1.+' implementation 'org.ocpsoft.prettytime:prettytime:4.0.1.Final' implementation 'com.github.castorflex.smoothprogressbar:library:1.1.0' diff --git a/app/src/main/java/com/gh4a/utils/HttpImageGetter.java b/app/src/main/java/com/gh4a/utils/HttpImageGetter.java index d4658b3b3..16eea9adf 100644 --- a/app/src/main/java/com/gh4a/utils/HttpImageGetter.java +++ b/app/src/main/java/com/gh4a/utils/HttpImageGetter.java @@ -610,9 +610,6 @@ private static Bitmap renderSvgToBitmap(Resources res, InputStream is, } } catch (SVGParseException e) { // fall through - } catch (NullPointerException e) { - // https://github.com/BigBadaboom/androidsvg/issues/81 - // remove me when there's a 1.2.3 release } return null; }