Fixed
Status Update
Comments
to...@gmail.com <to...@gmail.com> #2
Thanks. We will take a look. Even though we need to figure out a way to reliably detect when a Service is actually shutdown. Thanks for the sample project makes it a lot easier to reproduce the issue.
nk...@google.com <nk...@google.com> #3
nk...@google.com <nk...@google.com>
nk...@google.com <nk...@google.com> #4
I don't know the inner workings of this, but there seems to be a connection to Issue 36949180 : ServiceTestRule.bindService() returns null on 2nd invocation.
Issue 36949180 has a workaround where you repeat "serviceRule.bindService(intent)" until it no longer returns null. I tried the FooServiceTest in multiple-service-calls-test.tgz in my own project setting and test 2 to 5 failed. However, all tests succeeded after changing the bindService() method to repeatedly bind inside a while loop until the returned binder is not null.
Description
So far it is possible to have @SdkSupress annotation with minSdkVersion which doesn't solve the problem.