fix telephony data stage.

Signed-off-by: dingxiaochen <dingxiaochen@huawei.com>
This commit is contained in:
dingxiaochen 2023-03-02 15:17:13 +08:00
parent 5d06bf9841
commit d86145e58e

View File

@ -414,6 +414,7 @@ int32_t SimRdbHelper::ForgetAllData(int32_t slotId)
{
TELEPHONY_LOGI("SimRdbHelper::ForgetAllData slotId = %{public}d", slotId);
DataShare::DataSharePredicates predicates;
predicates.EqualTo(SimRdbInfo::SLOT_INDEX, std::to_string(slotId));
DataShare::DataShareValuesBucket value;
DataShare::DataShareValueObject valueObj(DEACTIVE);
value.Put(SimRdbInfo::IS_ACTIVE, valueObj);