Moved registerForIntent() into constructors of all services

This commit is contained in:
Obique PSWG
2015-11-01 09:41:07 -06:00
parent 1a261a6556
commit ccad047e4f
26 changed files with 64 additions and 83 deletions
+1 -5
View File
@@ -59,12 +59,8 @@ public class ShutdownService extends Service {
runCount = new AtomicInteger();
timeRemaining = new AtomicLong();
shutdownExecutor = null;
}
@Override
public boolean initialize() {
registerForIntent(ServerStatusIntent.TYPE);
return super.initialize();
}
@Override