mirror of
https://gitee.com/openharmony/advertising_ads_framework
synced 2024-11-27 09:00:36 +00:00
commit
28dff46fb6
@ -439,7 +439,7 @@ void StartUIExtensionAbility(Want &want, std::shared_ptr<OHOS::AbilityRuntime::A
|
||||
auto uiExtCallback = std::make_shared<UIExtensionCallback>(abilityContext);
|
||||
ADS_HILOGI(OHOS::Cloud::ADS_MODULE_JS_NAPI, "set uiExtCallback");
|
||||
OHOS::Ace::ModalUIExtensionCallbacks extensionCallbacks = {
|
||||
std::bind(&UIExtensionCallback::OnRelease, uiExtCallback, std::placeholders::_1),
|
||||
[uiExtCallback](int32_t releaseCode) { uiExtCallback->OnRelease(releaseCode); },
|
||||
};
|
||||
ADS_HILOGI(OHOS::Cloud::ADS_MODULE_JS_NAPI, "set extensionCallbacks");
|
||||
Ace::ModalUIExtensionConfig config;
|
||||
@ -936,4 +936,4 @@ void UIExtensionCallback::OnRelease(int32_t releaseCode)
|
||||
}
|
||||
} // namespace AdsNapi
|
||||
} // namespace CloudNapi
|
||||
} // namespace OHOS
|
||||
} // namespace OHOS
|
Loading…
Reference in New Issue
Block a user