Use the real overlay service with radio lifecycle components in host tests
This commit is contained in:
1 parent
ff16eec78d
commit
19050cd4f2
2 files changed
+2
-8
No files matched your search
@@ -22,7 +22,7 @@ kotlin {
|
||||
kotlin.include("com/utun/chat/data/RadioAudioEngine.kt", "com/utun/chat/data/RadioPttHolds.kt",
|
||||
"com/utun/chat/data/RadioAutoSettings.kt", "com/utun/chat/data/RadioVadWindow.kt",
|
||||
"com/utun/chat/data/RadioHostEnvironment.kt", "com/utun/chat/data/MicrophonePermission.kt",
|
||||
"com/utun/chat/data/RadioCallController.kt")
|
||||
"com/utun/chat/data/RadioCallController.kt", "com/utun/chat/data/RadioOverlayService.kt")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-7
@@ -1,12 +1,6 @@
|
||||
package com.utun.chat.data
|
||||
|
||||
import android.content.Context
|
||||
|
||||
/** Только границы UI/списка каналов; RadioAudioEngine, PCM-подписки и MediaAudioController настоящие. */
|
||||
object RadioOverlayService {
|
||||
var synchronizations = 0
|
||||
fun sync(context: Context) { synchronizations++ }
|
||||
}
|
||||
/** Только границы списка каналов; radio engine/overlay/PCM/session — настоящие компоненты приложения. */
|
||||
class HostRadioChannel(val id: String, val name: String = id)
|
||||
class HostRadioMember(val nodeId: Long, val name: String)
|
||||
class ChatRepository {
|
||||
|
||||
Reference in new issue
Block a user