From db7ccc63880f26b62a06c90cd31b6d3b31a66051 Mon Sep 17 00:00:00 2001 From: subcakewei Date: Wed, 27 Aug 2025 06:14:12 +0000 Subject: [PATCH 1/3] =?UTF-8?q?sharing=5Fservice=E8=93=9D=E9=BB=84?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: subcakewei --- sepolicy/ohos_policy/sharing_service/system/sharing_service.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sepolicy/ohos_policy/sharing_service/system/sharing_service.te b/sepolicy/ohos_policy/sharing_service/system/sharing_service.te index 7079010df..0cba0923c 100644 --- a/sepolicy/ohos_policy/sharing_service/system/sharing_service.te +++ b/sepolicy/ohos_policy/sharing_service/system/sharing_service.te @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 2023 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 @@ -71,6 +71,7 @@ allow sharing_service sa_media_monitor:samgr_class { get }; allow sharing_service sa_foundation_bms:samgr_class { get }; allow sharing_service audio_server:fd { use }; allow sharing_service audio_server:binder { call transfer }; +allow sharing_service sa_audio_policy_ext:samgr_class { get }; allow sharing_service sa_render_service:samgr_class { get }; allow sharing_service sa_powermgr_powermgr_service:samgr_class { get }; allow sharing_service powermgr:binder { call }; -- Gitee From 1df54cee5ff7b52348ad7f07757771d5bf6f9eb7 Mon Sep 17 00:00:00 2001 From: subcakewei Date: Wed, 27 Aug 2025 06:18:04 +0000 Subject: [PATCH 2/3] =?UTF-8?q?sharing=5Fservice=E8=93=9D=E9=BB=84?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: subcakewei --- sepolicy/ohos_policy/sharing_service/system/sharing_service.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/ohos_policy/sharing_service/system/sharing_service.te b/sepolicy/ohos_policy/sharing_service/system/sharing_service.te index 0cba0923c..d8719c069 100644 --- a/sepolicy/ohos_policy/sharing_service/system/sharing_service.te +++ b/sepolicy/ohos_policy/sharing_service/system/sharing_service.te @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Huawei Device Co., Ltd. +# Copyright (c) 2025 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 -- Gitee From e2e0e8c11c3ac3ec7de0759d17475cad7e5be98e Mon Sep 17 00:00:00 2001 From: subcakewei Date: Wed, 27 Aug 2025 06:22:04 +0000 Subject: [PATCH 3/3] =?UTF-8?q?sharing=5Fservice=E8=93=9D=E9=BB=84?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: subcakewei --- sepolicy/ohos_policy/sharing_service/system/sharing_service.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/ohos_policy/sharing_service/system/sharing_service.te b/sepolicy/ohos_policy/sharing_service/system/sharing_service.te index d8719c069..0cba0923c 100644 --- a/sepolicy/ohos_policy/sharing_service/system/sharing_service.te +++ b/sepolicy/ohos_policy/sharing_service/system/sharing_service.te @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Huawei Device Co., Ltd. +# Copyright (c) 2023 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 -- Gitee