diff --git a/appdata-sandbox-app.json b/appdata-sandbox-app.json index a77e5492..19a1e62a 100755 --- a/appdata-sandbox-app.json +++ b/appdata-sandbox-app.json @@ -130,6 +130,12 @@ }, { "src-path" : "/data/local/ark-profile//", "sandbox-path" : "/data/storage/ark-profile" + }, { + "src-path" : "/data/local/shader_cache/local/", + "sandbox-path" : "/data/storage/shader_cache/local" + }, { + "src-path" : "/data/local/shader_cache/cloud/", + "sandbox-path" : "/data/storage/shader_cache/cloud" }, { "src-path" : "/mnt/share//", "sandbox-path" : "/data/storage/el2/share" @@ -243,6 +249,12 @@ "sandbox-path": "/data/medialibrary/database" } ] + }, { + "name": "ohos.permission.ACCESS_SHADER_CACHE_DIR", + "mount-paths": [{ + "sandbox-path": "/data/storage/shader_caches", + "src-path": "/data/local/shader_cache" + }] }], "spawn-flag": [{ "name": "START_FLAGS_BACKUP", diff --git a/appdata-sandbox.json b/appdata-sandbox.json index e5e3e3b5..7a893b79 100755 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -193,6 +193,16 @@ "sandbox-path" : "/data/storage/ark-profile", "sandbox-flags" : [ "bind", "rec" ], "check-action-status": "false" + }, { + "src-path" : "/data/local/shader_cache/local/", + "sandbox-path" : "/data/storage/shader_cache/local", + "sandbox-flags" : [ "bind", "rec" ], + "check-action-status": "false" + }, { + "src-path" : "/data/local/shader_cache/cloud/", + "sandbox-path" : "/data/storage/shader_cache/cloud", + "sandbox-flags" : [ "bind", "rec" ], + "check-action-status": "false" }, { "src-path" : "/mnt/share//", "sandbox-path" : "/data/storage/el2/share", @@ -785,6 +795,15 @@ "sandbox-flags": [ "bind", "rec" ] } ] + }], + "ohos.permission.ACCESS_SHADER_CACHE_DIR":[{ + "sandbox-switch": "ON", + "mount-paths": [{ + "src-path": "/data/local/shader_cache", + "sandbox-path": "/data/storage/shader_caches", + "sandbox-flags": [ "bind", "rec" ] + } + ] }] }] }