diff --git a/atomicserviceweb/source/atomicserviceweb.ets b/atomicserviceweb/source/atomicserviceweb.ets index 201d409f9189745590d8ce86198139ee86add376..46fa5b101cb97d2fb858e3bf03bcce738d0c27aa 100644 --- a/atomicserviceweb/source/atomicserviceweb.ets +++ b/atomicserviceweb/source/atomicserviceweb.ets @@ -247,7 +247,6 @@ export struct AtomicServiceWeb { return true; } url = this.cutUrl(url); - console.log(`AtomicServiceWebLog checkUrl url=${url}`); return true; } } diff --git a/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js b/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js index 107564d41e5abbbaf1049294d617fc084a6a1137..30dd75d83187259e77f73e1d50961821eaa9783b 100644 --- a/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js +++ b/innerfullscreenlaunchcomponent/interfaces/innerfullscreenlaunchcomponent.js @@ -190,6 +190,8 @@ export class InnerFullScreenLaunchComponent extends ViewPU { flags: this.options?.flags, parameters: this.options?.parameters }); + UIExtensionComponent.backgroundColor({ 'id': -1, 'type': 10001, params: ['sys.color.ohos_id_color_titlebar_bg'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' }); + UIExtensionComponent.defaultFocus(true); UIExtensionComponent.height('100%'); UIExtensionComponent.width('100%'); UIExtensionComponent.onRelease(() => { diff --git a/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets b/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets index ad3567d7b60827a9758531a62aa9fef28e195af0..a54aacb3cf60d1226ee67c33804da8ac705fafa0 100644 --- a/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets +++ b/innerfullscreenlaunchcomponent/source/innerfullscreenlaunchcomponent.ets @@ -151,6 +151,8 @@ export struct InnerFullScreenLaunchComponent { flags: this.options?.flags, parameters: this.options?.parameters }) + .backgroundColor($r('sys.color.ohos_id_color_titlebar_bg')) + .defaultFocus(true) .height('100%') .width('100%') .onRelease( diff --git a/navpushpathhelper/include/hsp_silentinstall.h b/navpushpathhelper/include/hsp_silentinstall.h index ecc6fec93a954e0911dce39eba90630a36cbddc4..e3df82839c18310f3eca94d78816272f83417fc0 100644 --- a/navpushpathhelper/include/hsp_silentinstall.h +++ b/navpushpathhelper/include/hsp_silentinstall.h @@ -28,7 +28,7 @@ public: static int32_t SilentInstall(const std::string& moduleName, const std::function& callback, const std::function& silentInstallErrorCallBack); static bool IsHspExist(const std::string& moduleName, const std::string& pathName); - static void InitRouteMap(); + static void UpdateRouteMap(); private: static OHOS::sptr GetBundleManager(); diff --git a/navpushpathhelper/include/hsp_silentinstall_napi.h b/navpushpathhelper/include/hsp_silentinstall_napi.h index e7cedac8edcf2d670da18c7b7fc1f186441c666e..86361b65b20ef54daf0afdcf1c51fe318cc2caa0 100644 --- a/navpushpathhelper/include/hsp_silentinstall_napi.h +++ b/navpushpathhelper/include/hsp_silentinstall_napi.h @@ -26,7 +26,7 @@ class HspSilentInstallNapi { public: static napi_value SilentInstall(napi_env env, napi_callback_info info); static napi_value IsHspExist(napi_env env, napi_callback_info info); - static napi_value InitRouteMap(napi_env env, napi_callback_info info); + static napi_value UpdateRouteMap(napi_env env, napi_callback_info info); private: struct CallbackData {