!9771 补充PREPARE_CONTINUATION NAPI转换

Merge pull request !9771 from liuhongjie/master
This commit is contained in:
openharmony_ci 2024-08-07 12:47:57 +00:00 committed by Gitee
commit f0481d21c0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -59,6 +59,7 @@ static napi_value InitLaunchReasonObject(napi_env env)
NAPI_CALL(env, SetEnumItem(env, object, "SHARE", LAUNCHREASON_SHARE));
NAPI_CALL(env, SetEnumItem(env, object, "AUTO_STARTUP", LAUNCHREASON_AUTO_STARTUP));
NAPI_CALL(env, SetEnumItem(env, object, "INSIGHT_INTENT", LAUNCHREASON_INSIGHT_INTENT));
NAPI_CALL(env, SetEnumItem(env, object, "PREPARE_CONTINUATION", LAUNCHREASON_PREPARE_CONTINUATION));
return object;
}