No possibility of multiple invocation of log export
This commit is contained in:
parent
689ded1607
commit
a88c2d48c0
|
@ -45,9 +45,9 @@ public class ExportLogsService extends Service {
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
running.set(false);
|
|
||||||
export();
|
export();
|
||||||
stopForeground(true);
|
stopForeground(true);
|
||||||
|
running.set(false);
|
||||||
stopSelf();
|
stopSelf();
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
|
|
Loading…
Reference in New Issue