delete nonuse permission

Signed-off-by: 高海原 <gaohaiyuan1@huawei.com>
This commit is contained in:
高海原 2024-04-09 19:45:35 +08:00
parent 2468faa6db
commit ce280196cd
2 changed files with 0 additions and 3 deletions

View File

@ -12,7 +12,6 @@
"ohos.permission.VIBRATE",
"ohos.permission.GET_RUNNING_INFO",
"ohos.permission.START_SYSTEM_DIALOG",
"ohos.permission.RECEIVER_STARTUP_COMPLETED",
"ohos.permission.RUNNING_STATE_OBSERVER",
"ohos.permission.CAMERA",
"ohos.permission.GET_SUPER_PRIVACY"

View File

@ -36,7 +36,6 @@ const std::string MANAGE_LOCAL_ACCOUNTS = "ohos.permission.MANAGE_LOCAL_ACCOUNTS
const std::string VIBRATE = "ohos.permission.VIBRATE";
const std::string GET_RUNNING_INFO = "ohos.permission.GET_RUNNING_INFO";
const std::string START_SYSTEM_DIALOG = "ohos.permission.START_SYSTEM_DIALOG";
const std::string RECEIVER_STARTUP_COMPLETED = "ohos.permission.RECEIVER_STARTUP_COMPLETED";
const std::string RUNNING_STATE_OBSERVER = "ohos.permission.RUNNING_STATE_OBSERVER";
const int32_t LOCATION_PERM_NUM = 8;
@ -66,7 +65,6 @@ void ContextAppStateObserverTest::MockNativePermission()
VIBRATE.c_str(),
GET_RUNNING_INFO.c_str(),
START_SYSTEM_DIALOG.c_str(),
RECEIVER_STARTUP_COMPLETED.c_str(),
RUNNING_STATE_OBSERVER.c_str(),
};
NativeTokenInfoParams infoInstance = {