diff --git a/app/build.gradle b/app/build.gradle index f96adba..c78c327 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ if (project.hasProperty("project.configs") //noinspection GroovyMissingReturnStatement android { compileSdkVersion 25 - buildToolsVersion "25.0.1" + buildToolsVersion "25.0.2" defaultConfig { applicationId "ch.dissem.apps." + appName.toLowerCase() diff --git a/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java b/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java index 606c389..4a11cc2 100644 --- a/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java +++ b/app/src/main/java/ch/dissem/apps/abit/notification/NetworkNotification.java @@ -109,6 +109,7 @@ public class NetworkNotification extends AbstractNotification { public void run() { if (!update()) { cancel(); + ctx.stopService(new Intent(ctx, BitmessageService.class)); } NetworkNotification.super.show(); }