[2.13.0_update]已处理的录包消息需清除
This commit is contained in:
@@ -130,15 +130,7 @@ object DataManager {
|
||||
}
|
||||
|
||||
fun removeRecordInfo(key: String, value: Any) {
|
||||
if (Thread.currentThread() == Looper.getMainLooper().thread) {
|
||||
scope.launch {
|
||||
withContext(Dispatchers.Default) {
|
||||
removedRecordMap[key] = value
|
||||
}
|
||||
}
|
||||
} else {
|
||||
removedRecordMap[key] = value
|
||||
}
|
||||
removedRecordMap[key] = value
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,11 +42,8 @@ class MsgBoxProvider : IMsgBoxProvider {
|
||||
return DataManager.getRecordBagData()
|
||||
}
|
||||
|
||||
override fun removeRecordInfo(key: String, value: Any) {
|
||||
return DataManager.removeRecordInfo(key, value)
|
||||
}
|
||||
|
||||
override fun deleteBoxBean(context: Context, msgBoxBean: MsgBoxBean) {
|
||||
override fun removeRecordInfo(context: Context, msgBoxBean: MsgBoxBean, key: String) {
|
||||
DataManager.removeRecordInfo(key, key)
|
||||
DataManager.delMsgBoxBean(context, msgBoxBean)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user