[672][device] 注册硬件服务状态与设备回调接口时,回调一次设备状态信息

This commit is contained in:
xinfengkun
2024-11-20 18:17:15 +08:00
parent facaf30bff
commit 0bcfd98242
2 changed files with 36 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ class ShowVersionDialog(context: Context, val title: String, val msg: String) :
setCancelable(true)
initView()
}
var i=3;
private fun initView() {
tvTitle = findViewById(R.id.tv_title)
tvMsg = findViewById(R.id.tv_msg)
@@ -37,7 +37,6 @@ class ShowVersionDialog(context: Context, val title: String, val msg: String) :
tvMsg?.text = msg
okView?.setOnClickListener {
DevicesManager.speechCx830seBroadcast("你好${i++}")
dismiss()
}
}