probably startForeground() is overkill?

sigsegv_dump
Greg Alexander 10 years ago
parent 5c01b97345
commit f0347f7477

@ -30,7 +30,8 @@ public class SimpleSSHDService extends Service {
(!intent.getBooleanExtra("stop", false))) {
do_start();
/* XXX - maybe we should call startForeground(), but then we'd have to make a
* bogus notification... */
* bogus notification... and START_STICKY seems to actually do a good job of
* restarting us if we're killed... */
return START_STICKY;
} else {
stop_sshd();

Loading…
Cancel
Save