添加探路api接口实现
This commit is contained in:
@@ -23,12 +23,13 @@ object UploadHelper {
|
||||
AIAssist.getInstance(context).speakTTSVoice("感谢分享,正在上传")
|
||||
}
|
||||
Logger.d("UploadHelper", "upload ----> $type")
|
||||
val intent = Intent()
|
||||
intent.action = "com.zhidao.share.roadcondition.action"
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND)
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES)
|
||||
intent.putExtra("type", type)
|
||||
context.sendBroadcast(intent)
|
||||
ServiceApisManager.serviceApis.tanluApi.uploadRoadCondition(type)
|
||||
// val intent = Intent()
|
||||
// intent.action = "com.zhidao.share.roadcondition.action"
|
||||
// intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND)
|
||||
// intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES)
|
||||
// intent.putExtra("type", type)
|
||||
// context.sendBroadcast(intent)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user