已开启
update: 更新文件 cellular_data_client.cpp #1295
wmyao_mm创建于 21 天前
update: 更新文件 cellular_data_client.cpp #1295
已开启
共 1 个文件变更+1-1
| @@ -160,7 +160,7 @@ int32_t CellularDataClient::GetDefaultCellularDataSlotId() | |||
| 160 | TELEPHONY_LOGE("GetDefaultCellularDataSlotId IPC error, %{public}d", ret); | 160 | TELEPHONY_LOGE("GetDefaultCellularDataSlotId IPC error, %{public}d", ret); |
| 161 | return ret; | 161 | return ret; |
| 162 | } | 162 | } |
| 163 | - defaultCellularDataSlotId_ = slotId; | 163 | + defaultCellularDataSlotId_.store(slotId); |
| 164 | return defaultCellularDataSlotId_; | 164 | return defaultCellularDataSlotId_; |
| 165 | } | 165 | } |
| 166 | 166 | ||