[2.13.0] fix bug of sn token invoke

This commit is contained in:
zhongchao
2022-11-30 12:59:28 +08:00
parent ada76d3136
commit 621c8f36d2
6 changed files with 20 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ class TraceManager : IMoGoCloudListener {
@Synchronized
fun init(context: Context) {
if(init){
if (init) {
return
}
// 初始化Trace抓取服务
@@ -101,7 +101,7 @@ class TraceManager : IMoGoCloudListener {
init = true
}
override fun tokenGot(sn: String) {
override fun tokenGot(token: String, sn: String) {
FileWriteManager.getInstance().updateDeviceId(sn)
}