No possibility of multiple invocation of log export

This commit is contained in:
fiaxh 2016-02-23 23:57:51 +01:00
parent 689ded1607
commit a88c2d48c0

View File

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