Fixed bug where network notification couldn't be dismissed

and updated build tools
This commit is contained in:
Christian Basler 2017-01-01 15:00:46 +01:00
parent 249c97d4ba
commit e74b18ed3f
2 changed files with 2 additions and 1 deletions

View File

@ -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()

View File

@ -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();
}