敏感日志删除&&嵌入式拉起元服务焦点动效问题解决

Signed-off-by: humeng <humeng13@huawei.com>
This commit is contained in:
humeng 2024-10-25 16:10:08 +08:00
parent fcc1106b87
commit c8764757c7
5 changed files with 6 additions and 3 deletions

View File

@ -247,7 +247,6 @@ export struct AtomicServiceWeb {
return true; return true;
} }
url = this.cutUrl(url); url = this.cutUrl(url);
console.log(`AtomicServiceWebLog checkUrl url=${url}`);
return true; return true;
} }
} }

View File

@ -190,6 +190,8 @@ export class InnerFullScreenLaunchComponent extends ViewPU {
flags: this.options?.flags, flags: this.options?.flags,
parameters: this.options?.parameters 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.height('100%');
UIExtensionComponent.width('100%'); UIExtensionComponent.width('100%');
UIExtensionComponent.onRelease(() => { UIExtensionComponent.onRelease(() => {

View File

@ -151,6 +151,8 @@ export struct InnerFullScreenLaunchComponent {
flags: this.options?.flags, flags: this.options?.flags,
parameters: this.options?.parameters parameters: this.options?.parameters
}) })
.backgroundColor($r('sys.color.ohos_id_color_titlebar_bg'))
.defaultFocus(true)
.height('100%') .height('100%')
.width('100%') .width('100%')
.onRelease( .onRelease(

View File

@ -28,7 +28,7 @@ public:
static int32_t SilentInstall(const std::string& moduleName, const std::function<void()>& callback, static int32_t SilentInstall(const std::string& moduleName, const std::function<void()>& callback,
const std::function<void(int32_t, const std::string&)>& silentInstallErrorCallBack); const std::function<void(int32_t, const std::string&)>& silentInstallErrorCallBack);
static bool IsHspExist(const std::string& moduleName, const std::string& pathName); static bool IsHspExist(const std::string& moduleName, const std::string& pathName);
static void InitRouteMap(); static void UpdateRouteMap();
private: private:
static OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> GetBundleManager(); static OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> GetBundleManager();

View File

@ -26,7 +26,7 @@ class HspSilentInstallNapi {
public: public:
static napi_value SilentInstall(napi_env env, napi_callback_info info); 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 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: private:
struct CallbackData { struct CallbackData {