diff --git a/appdata-sandbox.json b/appdata-sandbox.json index 5994d20f6a27f0475067bdb6f81174d7c10bd2e4..2d097860263213db006fc4a7227eb45fe89645f4 100644 --- a/appdata-sandbox.json +++ b/appdata-sandbox.json @@ -167,30 +167,6 @@ }] }], "individual" : [{ - "com.ohos.medialibrary.MediaLibraryDataA" : [{ - "sandbox-switch": "ON", - "sandbox-root" : "/mnt/sandbox/", - "mount-paths" : [{ - "src-path" : "/storage/media/", - "sandbox-path" : "/storage/media", - "sandbox-flags" : [ "bind", "rec" ], - "check-action-status": "false" - } - ], - "symbol-links" : [] - }], - "com.ohos.medialibrary.MediaScannerAbilityA" : [{ - "sandbox-switch": "ON", - "sandbox-root" : "/mnt/sandbox/", - "mount-paths" : [{ - "src-path" : "/storage/media/", - "sandbox-path" : "/storage/media", - "sandbox-flags" : [ "bind", "rec" ], - "check-action-status": "false" - } - ], - "symbol-links" : [] - }], "com.ohos.medialibrary.medialibrarydata" : [{ "sandbox-switch": "ON", "sandbox-root" : "/mnt/sandbox/", diff --git a/appdata-sandbox64.json b/appdata-sandbox64.json index ff660390791d33307ef380a9590553a483203458..8fb6b8c8d8b32b74f5aaef30dc8cd1d7324f8597 100644 --- a/appdata-sandbox64.json +++ b/appdata-sandbox64.json @@ -176,30 +176,6 @@ }] }], "individual" : [{ - "com.ohos.medialibrary.MediaLibraryDataA" : [{ - "sandbox-switch": "ON", - "sandbox-root" : "/mnt/sandbox/", - "mount-paths" : [{ - "src-path" : "/storage/media/", - "sandbox-path" : "/storage/media", - "sandbox-flags" : [ "bind", "rec" ], - "check-action-status": "false" - } - ], - "symbol-links" : [] - }], - "com.ohos.medialibrary.MediaScannerAbilityA" : [{ - "sandbox-switch": "ON", - "sandbox-root" : "/mnt/sandbox/", - "mount-paths" : [{ - "src-path" : "/storage/media/", - "sandbox-path" : "/storage/media", - "sandbox-flags" : [ "bind", "rec" ], - "check-action-status": "false" - } - ], - "symbol-links" : [] - }], "com.ohos.medialibrary.medialibrarydata" : [{ "sandbox-switch": "ON", "sandbox-root" : "/mnt/sandbox/", diff --git a/standard/appspawn_service.c b/standard/appspawn_service.c index 924664e7069fc668f13d14a0e22b744f2bb6bc11..282c2a48527c2605de7d40bc1712f137e603be26 100644 --- a/standard/appspawn_service.c +++ b/standard/appspawn_service.c @@ -206,8 +206,6 @@ static void HandleSpecial(AppSpawnClientExt *appProperty) { // special handle bundle name medialibrary and scanner const char *specialBundleNames[] = { - "com.ohos.medialibrary.MediaLibraryDataA", - "com.ohos.medialibrary.MediaScannerAbilityA", "com.ohos.medialibrary.medialibrarydata" };