From 752371f94c5186a7833b3a8918e9b1e69cc3f2e5 Mon Sep 17 00:00:00 2001 From: zhangxingxia Date: Tue, 9 Aug 2022 10:59:13 +0800 Subject: [PATCH] add statistics xts Signed-off-by: zhangxingxia --- storage/storagestatisticsjstest/AppScope/app.json | 8 ++++---- .../AppScope/resources/base/element/string.json | 2 +- .../entry/src/main/module.json | 13 +------------ 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/storage/storagestatisticsjstest/AppScope/app.json b/storage/storagestatisticsjstest/AppScope/app.json index 1e81e7db7..bd440e5a8 100644 --- a/storage/storagestatisticsjstest/AppScope/app.json +++ b/storage/storagestatisticsjstest/AppScope/app.json @@ -6,15 +6,15 @@ "versionName": "1.0.0", "icon": "$media:app_icon", "label": "$string:app_name", - "debug": false, + "debug": false, "distributedNotificationEnabled": true, - "keepAlive": true, + "keepAlive": true, "singleUser": true, "minAPIVersion": 9, "targetAPIVersion": 9, "car": { - "apiCompatibleVersion": 9, - "singleUser": false + "apiCompatibleVersion": 9, + "singleUser": false } } } diff --git a/storage/storagestatisticsjstest/AppScope/resources/base/element/string.json b/storage/storagestatisticsjstest/AppScope/resources/base/element/string.json index 5b80606da..52612339e 100644 --- a/storage/storagestatisticsjstest/AppScope/resources/base/element/string.json +++ b/storage/storagestatisticsjstest/AppScope/resources/base/element/string.json @@ -2,7 +2,7 @@ "string": [ { "name": "app_name", - "value": "fileAccess" + "value": "storageStatistics" } ] } diff --git a/storage/storagestatisticsjstest/entry/src/main/module.json b/storage/storagestatisticsjstest/entry/src/main/module.json index 2a6416f00..51ae3b824 100644 --- a/storage/storagestatisticsjstest/entry/src/main/module.json +++ b/storage/storagestatisticsjstest/entry/src/main/module.json @@ -33,17 +33,6 @@ } ] } - ], - "requestPermissions": [ - { - "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS" - }, - { - "name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" - }, - { - "name": "ohos.permission.READ_MEDIA" - } - ] + ] } } \ No newline at end of file -- GitLab