mirror of
https://gitee.com/openharmony/applications_settings
synced 2024-11-27 08:30:34 +00:00
update napi/settings/napi_settings_observer.cpp.
Signed-off-by: chenlang <chenlang28@h-partners.com>
This commit is contained in:
parent
c00fce1045
commit
233cad5ca8
@ -120,8 +120,6 @@ namespace Settings {
|
||||
NAPI_ASSERT(env, valueType == napi_string, "Wrong argument[1] type. String expected.");
|
||||
NAPI_CALL(env, napi_typeof(env, args[PARAM2], &valueType));
|
||||
NAPI_ASSERT(env, valueType == napi_string, "Wrong argument[2] type. String expected.");
|
||||
NAPI_CALL(env, napi_typeof(env, args[PARAM3], &valueType));
|
||||
NAPI_ASSERT(env, valueType == napi_object, "Wrong argument[3] type. String expected.");
|
||||
|
||||
bool stageMode = false;
|
||||
napi_status status = OHOS::AbilityRuntime::IsStageContext(env, args[PARAM0], stageMode);
|
||||
|
Loading…
Reference in New Issue
Block a user