From 41bdbbbc37ae93f0888a1514c2dc7384fc51755b Mon Sep 17 00:00:00 2001 From: jinduo Date: Thu, 15 May 2025 10:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=20ohos.permission.READ=5FSOU?= =?UTF-8?q?ND=5FRECORD=5FIN=5FFILE=5FMANAGER=20ohos.permission.WRITE=5FSOU?= =?UTF-8?q?ND=5FRECORD=5FIN=5FFILE=5FMANAGER=20=E7=BB=91=E5=AE=9A=20/stora?= =?UTF-8?q?ge/Users//Sounds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jinduo --- appdata-sandbox-app.json | 14 ++++++++++++++ appdata-sandbox.json | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/appdata-sandbox-app.json b/appdata-sandbox-app.json index 493c0004..60e5cfa2 100644 --- a/appdata-sandbox-app.json +++ b/appdata-sandbox-app.json @@ -317,6 +317,20 @@ "sandbox-path": "/data/hwbackup" }] }, { + "name": "ohos.permission.READ_SOUND_RECORD_IN_FILE_MANAGER", + "mount-paths": [{ + "src-path": "none", + "sandbox-path": "none", + "dec-paths": [ "/storage/Users//Sounds" ] + }] + },{ + "name": "ohos.permission.WRITE_SOUND_RECORD_IN_FILE_MANAGER", + "mount-paths": [{ + "src-path": "none", + "sandbox-path": "none", + "dec-paths": [ "/storage/Users//Sounds" ] + }] + },{ "name": "ohos.permission.ACCESS_RINGTONE_RESOURCE", "sandbox-switch": "ON", "gids": ["user_data_rw"], diff --git a/appdata-sandbox.json b/appdata-sandbox.json index 4a2b40b3..f25a301a 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -935,6 +935,26 @@ } ] }], + "ohos.permission.READ_SOUND_RECORD_IN_FILE_MANAGER":[{ + "sandbox-switch": "ON", + "mount-paths":[{ + "src-path": "", + "sandbox-path": "", + "sandbox-flags": [], + "dec-paths": [ "/storage/Users//Sounds" ] + } + ] + }], + "ohos.permission.WRITE_SOUND_RECORD_IN_FILE_MANAGER":[{ + "sandbox-switch": "ON", + "mount-paths":[{ + "src-path": "", + "sandbox-path": "", + "sandbox-flags": [], + "dec-paths": [ "/storage/Users//Sounds" ] + } + ] + }], "ohos.permission.PROTECT_SCREEN_LOCK_DATA":[{ "sandbox-switch": "ON", "mount-paths": [{ -- Gitee