codecheck

Signed-off-by: MisterE <smart_e@126.com>
This commit is contained in:
MisterE 2024-11-05 18:43:48 +08:00
commit 58491342f0
2 changed files with 4 additions and 2 deletions

View File

@ -1530,7 +1530,8 @@ bool JsUIAbility::CallPromise(napi_value result, AppExecFwk::AbilityTransactionC
return true;
}
bool JsUIAbility::CallPromise(napi_value result, AppExecFwk::AbilityTransactionCallbackInfo<int32_t> *resolveCallbackInfo,
bool JsUIAbility::CallPromise(napi_value result,
AppExecFwk::AbilityTransactionCallbackInfo<int32_t> *resolveCallbackInfo,
AppExecFwk::AbilityTransactionCallbackInfo<int32_t> *rejectCallbackInfo)
{
TAG_LOGI(AAFwkTag::UIABILITY, "called");

View File

@ -316,7 +316,8 @@ private:
bool withResult = false, bool showMethodNotFoundLog = true);
bool CheckPromise(napi_value result);
bool CallPromise(napi_value result, AppExecFwk::AbilityTransactionCallbackInfo<> *callbackInfo);
bool CallPromise(napi_value result, AppExecFwk::AbilityTransactionCallbackInfo<int32_t> *resolveCallbackInfo,
bool CallPromise(napi_value result,
AppExecFwk::AbilityTransactionCallbackInfo<int32_t> *resolveCallbackInfo,
AppExecFwk::AbilityTransactionCallbackInfo<int32_t> *rejectCallbackInfo);
std::unique_ptr<NativeReference> CreateAppWindowStage();
std::shared_ptr<AppExecFwk::ADelegatorAbilityProperty> CreateADelegatorAbilityProperty();