At present a stopped service returns a state of NONE rather that STOPPED. Could we change the state to be more accurate?
Looking at the code State.NONE seems to be used in two places
- BaseBinding to signify that the Lifecycle could not be located
- BaseServiceHandler to signify that the service is stopped.
Could we add a STOPPED state and use this within BaseServiceHandler, thereby distinguishing between a non-existent Lifecycle and a stopped binding?
|