Fixed bug where network notification couldn't be dismissed
and updated build tools
This commit is contained in:
parent
249c97d4ba
commit
e74b18ed3f
@ -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()
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user