mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
modify the spelling error of scheduledUpateTime
Signed-off-by: shilei <shilei91@huawei.com> Change-Id: I697cd48c7e9d230fb9d8d5e72fb1f6254c95fcdb
This commit is contained in:
@@ -124,7 +124,7 @@ bool BundleMgrService::GetAllFormsInfo(std::vector<FormInfo> &formInfo)
|
||||
form.name = PARAM_FORM_NAME;
|
||||
form.updateEnabled = true;
|
||||
form.updateDuration = 1;
|
||||
form.scheduledUpateTime = "06:06";
|
||||
form.scheduledUpdateTime = "06:06";
|
||||
form.jsComponentName = FORM_JS_COMPOMENT_NAME;
|
||||
form.formVisibleNotify = true;
|
||||
form.supportDimensions = {1, 2};
|
||||
@@ -141,7 +141,7 @@ bool BundleMgrService::GetFormsInfoByApp(const std::string &bundleName, std::vec
|
||||
form.name = PARAM_FORM_NAME;
|
||||
form.updateEnabled = true;
|
||||
form.updateDuration = 1;
|
||||
form.scheduledUpateTime = "06:06";
|
||||
form.scheduledUpdateTime = "06:06";
|
||||
form.jsComponentName = FORM_JS_COMPOMENT_NAME;
|
||||
form.formVisibleNotify = true;
|
||||
form.supportDimensions = {1, 2};
|
||||
@@ -161,7 +161,7 @@ bool BundleMgrService::GetFormsInfoByModule(
|
||||
form.name = PARAM_FORM_NAME;
|
||||
form.updateEnabled = true;
|
||||
form.updateDuration = 1;
|
||||
form.scheduledUpateTime = "06:06";
|
||||
form.scheduledUpdateTime = "06:06";
|
||||
form.jsComponentName = FORM_JS_COMPOMENT_NAME;
|
||||
form.formVisibleNotify = true;
|
||||
form.supportDimensions = {1, 2};
|
||||
|
||||
@@ -273,8 +273,8 @@ static void ParseFormInfoIntoNapi(napi_env env, const FormInfo &formInfo, napi_v
|
||||
|
||||
// scheduledUpdateTime
|
||||
napi_value scheduledUpdateTime;
|
||||
napi_create_string_utf8(env, formInfo.scheduledUpateTime.c_str(), NAPI_AUTO_LENGTH, &scheduledUpdateTime);
|
||||
HILOG_DEBUG("%{public}s, scheduledUpdateTime=%{public}s.", __func__, formInfo.scheduledUpateTime.c_str());
|
||||
napi_create_string_utf8(env, formInfo.scheduledUpdateTime.c_str(), NAPI_AUTO_LENGTH, &scheduledUpdateTime);
|
||||
HILOG_DEBUG("%{public}s, scheduledUpdateTime=%{public}s.", __func__, formInfo.scheduledUpdateTime.c_str());
|
||||
napi_set_named_property(env, result, "scheduledUpdateTime", scheduledUpdateTime);
|
||||
|
||||
// defaultDimension
|
||||
|
||||
@@ -1186,7 +1186,7 @@ ErrCode FormMgrAdapter::CreateFormItemInfo(const BundleInfo &bundleInfo,
|
||||
itemInfo.SetFormName(formInfo.name);
|
||||
itemInfo.SetEnableUpdateFlag(formInfo.updateEnabled);
|
||||
itemInfo.SetUpdateDuration(formInfo.updateDuration);
|
||||
itemInfo.SetScheduledUpdateTime(formInfo.scheduledUpateTime);
|
||||
itemInfo.SetScheduledUpdateTime(formInfo.scheduledUpdateTime);
|
||||
itemInfo.SetJsComponentName(formInfo.jsComponentName);
|
||||
itemInfo.SetFormVisibleNotify(formInfo.formVisibleNotify);
|
||||
itemInfo.SetFormSrc(formInfo.src);
|
||||
|
||||
@@ -204,7 +204,7 @@ bool FormSysEventReceiver::ProviderFormUpdated(const int64_t formId,
|
||||
FormBmsHelper::GetInstance().NotifyModuleNotRemovable(formRecord.bundleName, formRecord.moduleName);
|
||||
FormTimerCfg timerCfg;
|
||||
GetTimerCfg(updatedForm.updateEnabled, updatedForm.updateDuration,
|
||||
updatedForm.scheduledUpateTime, timerCfg);
|
||||
updatedForm.scheduledUpdateTime, timerCfg);
|
||||
HandleTimerUpdate(formId, formRecord, timerCfg);
|
||||
FormDataMgr::GetInstance().SetVersionUpgrade(formId, true);
|
||||
return true;
|
||||
|
||||
@@ -129,7 +129,7 @@ bool BundleMgrService::GetFormsInfoByApp(const std::string &bundleName, std::vec
|
||||
form.name = PARAM_FORM_NAME;
|
||||
form.updateEnabled = true;
|
||||
form.updateDuration = 1;
|
||||
form.scheduledUpateTime = "06:06";
|
||||
form.scheduledUpdateTime = "06:06";
|
||||
form.jsComponentName = FORM_JS_COMPOMENT_NAME;
|
||||
form.formVisibleNotify = true;
|
||||
form.supportDimensions = {1, 2};
|
||||
@@ -147,7 +147,7 @@ bool BundleMgrService::GetFormsInfoByModule(const std::string &bundleName, const
|
||||
form.name = PARAM_FORM_NAME;
|
||||
form.updateEnabled = true;
|
||||
form.updateDuration = 1;
|
||||
form.scheduledUpateTime = "06:06";
|
||||
form.scheduledUpdateTime = "06:06";
|
||||
form.jsComponentName = FORM_JS_COMPOMENT_NAME;
|
||||
form.formVisibleNotify = true;
|
||||
form.supportDimensions = {1, 2};
|
||||
|
||||
Reference in New Issue
Block a user