Remove the service from the foreground before exiting.

This commit is contained in:
akwizgran
2014-02-05 12:07:06 +00:00
parent 1ac8524dc2
commit 3a036551c3

View File

@@ -100,6 +100,7 @@ public class BriarService extends RoboService {
public void onDestroy() {
super.onDestroy();
if(LOG.isLoggable(INFO)) LOG.info("Destroyed");
stopForeground(true);
// Stop the services in a background thread
new Thread() {
@Override