Closed alexandruchircu closed 4 years ago
I think unbindService
doesn't need to be inside the try/catch but probably bindService
need a try/catch since:
This method will throw SecurityException if the calling app does not have permission to bind to the given service.
Also in my opinion the b variable isn't needed, this is probably enough:
if (!context.bindService(intent, c, Context.BIND_AUTO_CREATE))
return false;
I think
unbindService
doesn't... ...
@ale5000-git Something like the latest commits?
It seems fine, now we should wait @mar-v-in
See comments in patch please.