mirror of
https://bitbucket.org/projectswg/holocore.git
synced 2026-10-12 04:13:07 -04:00
Moved registerForIntent() into constructors of all services
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user