fix telephony data stage.

Signed-off-by: dingxiaochen <dingxiaochen@huawei.com>
This commit is contained in:
dingxiaochen 2023-03-01 19:43:34 +08:00
parent 73f30c82f0
commit 5d06bf9841

View File

@ -940,7 +940,7 @@ int32_t MultiSimController::SaveImsSwitch(int32_t slotId, int32_t imsSwitchValue
}
DataShare::DataShareValuesBucket values;
DataShare::DataShareValueObject valueObj(imsSwitchValue);
values.Put(SimRdbInfo::IMS_SWITCH, iccidObj);
values.Put(SimRdbInfo::IMS_SWITCH, valueObj);
return simDbHelper_->UpdateDataByIccId(localCacheInfo_[slotId].iccId, values);
}