I am using a JobIntent service to perform some operation. I am starting the Service from say Screen A.
After the service performs its work I am sending a callback from JobIntent Service to the Screen A. Then immediately the Screen A finishes itself and opens a new Screen say B.
I am able to notice that there is a log stating Leaked Service Connection. Below is the log
android.app.ServiceConnectionLeaked: Activity Package.ScreenA has leaked
ServiceConnection Package.ServiceName$1@7a41f83 that was originally bound here
What does this error mean and is there any damage if this error continues? What can be done to prevent these kinds of errors?
Even though I am not sure but the service holds the context reference of the screenA which is why this might be happening?
Thanks in Advance!