Reference the host service lifecycle result through its Android boundary
This commit is contained in:
1 parent
ff05e34d22
commit
4f9bfbbcf3
1 file changed
+1
-1
+1
-1
@@ -79,7 +79,7 @@ class CallServiceLifecycleTest {
|
||||
return requireNotNull(state).callId
|
||||
}
|
||||
private fun start(service: CallService, id: Long = request()) {
|
||||
assertEquals(CallService.START_NOT_STICKY, service.onStartCommand(Intent().putExtra("call_id", id), 0, 1))
|
||||
assertEquals(android.app.Service.START_NOT_STICKY, service.onStartCommand(Intent().putExtra("call_id", id), 0, 1))
|
||||
}
|
||||
private fun await(message: String, condition: () -> Boolean) {
|
||||
val deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(3)
|
||||
|
||||
Reference in new issue
Block a user