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
|
//noinspection GroovyMissingReturnStatement
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 25
|
||||||
buildToolsVersion "25.0.1"
|
buildToolsVersion "25.0.2"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "ch.dissem.apps." + appName.toLowerCase()
|
applicationId "ch.dissem.apps." + appName.toLowerCase()
|
||||||
|
@ -109,6 +109,7 @@ public class NetworkNotification extends AbstractNotification {
|
|||||||
public void run() {
|
public void run() {
|
||||||
if (!update()) {
|
if (!update()) {
|
||||||
cancel();
|
cancel();
|
||||||
|
ctx.stopService(new Intent(ctx, BitmessageService.class));
|
||||||
}
|
}
|
||||||
NetworkNotification.super.show();
|
NetworkNotification.super.show();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user