From 4f9bfbbcf3b94f344f1f3f4ff8efd5abf4389134 Mon Sep 17 00:00:00 2001 From: evgeny Date: Wed, 28 Oct 2026 21:18:15 +0100 Subject: [PATCH] Reference the host service lifecycle result through its Android boundary --- .../test/kotlin/com/utun/chat/data/CallServiceLifecycleTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/chatgui-android/call-service-tests/src/test/kotlin/com/utun/chat/data/CallServiceLifecycleTest.kt b/tools/chatgui-android/call-service-tests/src/test/kotlin/com/utun/chat/data/CallServiceLifecycleTest.kt index 2f8e9387..d9d2279a 100644 --- a/tools/chatgui-android/call-service-tests/src/test/kotlin/com/utun/chat/data/CallServiceLifecycleTest.kt +++ b/tools/chatgui-android/call-service-tests/src/test/kotlin/com/utun/chat/data/CallServiceLifecycleTest.kt @@ -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)