From 1d1baeb3b38a21de59393200ee506694f16da1a7 Mon Sep 17 00:00:00 2001 From: wanganjie Date: Thu, 1 Aug 2024 17:14:14 +0800 Subject: [PATCH] fix_format Signed-off-by: wanganjie --- .../src/modal_system_ui_extension.cpp | 2 +- .../innerkits/extension/modal_system_ui_extension.h | 5 ++--- .../session_manager/src/scene_session_manager.cpp | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/extension/modal_system_ui_extension/src/modal_system_ui_extension.cpp b/extension/modal_system_ui_extension/src/modal_system_ui_extension.cpp index 5e3cea884e..19df232c3c 100644 --- a/extension/modal_system_ui_extension/src/modal_system_ui_extension.cpp +++ b/extension/modal_system_ui_extension/src/modal_system_ui_extension.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Huawei Device Co., Ltd. + * Copyright (c) 2023-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/interfaces/innerkits/extension/modal_system_ui_extension.h b/interfaces/innerkits/extension/modal_system_ui_extension.h index cd7fc9fcba..3d4dc047f9 100644 --- a/interfaces/innerkits/extension/modal_system_ui_extension.h +++ b/interfaces/innerkits/extension/modal_system_ui_extension.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Huawei Device Co., Ltd. + * Copyright (c) 2023-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -16,7 +16,6 @@ #ifndef WINDOW_MANAGER_MODAL_SYSTEM_UI_EXTENSION_H #define WINDOW_MANAGER_MODAL_SYSTEM_UI_EXTENSION_H -#include #include #include #include @@ -35,7 +34,7 @@ public: private: class DialogAbilityConnection : public OHOS::AAFwk::AbilityConnectionStub { public: - explicit DialogAbilityConnection(const AAFwk::Want& want) : want_(want) {}; + explicit DialogAbilityConnection(const AAFwk::Want& want) : want_(want) {} virtual ~DialogAbilityConnection() = default; void OnAbilityConnectDone(const AppExecFwk::ElementName& element, const sptr& remoteObject, diff --git a/window_scene/session_manager/src/scene_session_manager.cpp b/window_scene/session_manager/src/scene_session_manager.cpp index efb340e92d..1d6e7bcd00 100644 --- a/window_scene/session_manager/src/scene_session_manager.cpp +++ b/window_scene/session_manager/src/scene_session_manager.cpp @@ -9015,8 +9015,8 @@ void SceneSessionManager::HideNonSecureFloatingWindows() for (const auto& [persistentId, session] : nonSystemFloatSceneSessionMap_) { if (session && session->GetWindowType() == WindowType::WINDOW_TYPE_FLOAT) { session->NotifyForceHideChange(shouldHide); - TLOGI(WmsLogTag::WMS_UIEXT, "HideNonSecureWindows name=%{public}s, persistentId=%{public}d, " - "shouldHide=%{public}u", session->GetWindowName().c_str(), persistentId, shouldHide); + TLOGI(WmsLogTag::WMS_UIEXT, "name=%{public}s, persistentId=%{public}d, shouldHide=%{public}u", + session->GetWindowName().c_str(), persistentId, shouldHide); } } } @@ -9042,8 +9042,8 @@ void SceneSessionManager::HideNonSecureSubWindows(const sptr& scen if (SessionHelper::IsNonSecureToUIExtension(property->GetWindowType()) && !session->IsSystemSpecificSession()) { session->NotifyForceHideChange(shouldHide); - TLOGI(WmsLogTag::WMS_UIEXT, "HideNonSecureWindows name=%{public}s, persistentId=%{public}d, " - "shouldHide=%{public}u", session->GetWindowName().c_str(), session->GetPersistentId(), shouldHide); + TLOGI(WmsLogTag::WMS_UIEXT, "name=%{public}s, persistentId=%{public}d, shouldHide=%{public}u", + session->GetWindowName().c_str(), session->GetPersistentId(), shouldHide); } } }