mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
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
Block a user