|
|
|
@ -7,6 +7,7 @@ import com.yunqiinnovation.azure_speech.AzureAsrHelper |
|
|
|
import com.yunqiinnovation.open_ai_service.OpenAIService |
|
|
|
import com.yunqiinnovation.chat_storage.ChatStorageHelper |
|
|
|
import com.yunqiinnovation.music_service.MusicServiceStarter |
|
|
|
import com.yunqiinnovation.amap_service.NavigationServiceStarter |
|
|
|
import android.util.Log |
|
|
|
import io.flutter.plugin.common.MethodChannel |
|
|
|
import kotlinx.coroutines.* |
|
|
|
@ -1189,7 +1190,7 @@ object AgentService : CoroutineScope { |
|
|
|
// 如果 playlist 中有有效的歌曲,开始播放 |
|
|
|
if (!start.isNullOrEmpty() && !end.isNullOrEmpty()) { |
|
|
|
Log.i(TAG, "启动导航服务 ${start} ${end}") |
|
|
|
// NavigationServiceStarter.startServiceWithCommand(context, command = "start", startpos = start, endpos = end) |
|
|
|
NavigationServiceStarter.startServiceWithCommand(context, command = "start", startpos = start, endpos = end) |
|
|
|
} else { |
|
|
|
Log.i(TAG, "启动导航服务失败") |
|
|
|
} |
|
|
|
|