From f4db12eb836cdca1f16bbcc9a00ae5e8162ee006 Mon Sep 17 00:00:00 2001 From: dingxiaochen Date: Tue, 25 Oct 2022 17:00:01 +0800 Subject: [PATCH] fix opkey config policy. Signed-off-by: dingxiaochen --- interfaces/inner_api/include/config_policy_impl.h | 6 +++--- test/resource/ohos_test.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/interfaces/inner_api/include/config_policy_impl.h b/interfaces/inner_api/include/config_policy_impl.h index f695e3b..b13d4a9 100644 --- a/interfaces/inner_api/include/config_policy_impl.h +++ b/interfaces/inner_api/include/config_policy_impl.h @@ -26,9 +26,9 @@ extern "C" { #define CUST_KEY_POLICY_LAYER "const.cust.config_dir_layer" #define CUST_FOLLOW_X_RULES "const.cust.follow_x_rules" // opkey info for sim1 -#define CUST_OPKEY0 "persist.telephony.opkey0" +#define CUST_OPKEY0 "telephony.sim.opkey0" // opkey info for sim1 -#define CUST_OPKEY1 "persist.telephony.opkey1" +#define CUST_OPKEY1 "telephony.sim.opkey1" #ifdef __cplusplus #if __cplusplus @@ -36,4 +36,4 @@ extern "C" { #endif #endif // __cplusplus -#endif // CUSTOMIZATION_CONFIG_POLICY_IMPL_H \ No newline at end of file +#endif // CUSTOMIZATION_CONFIG_POLICY_IMPL_H diff --git a/test/resource/ohos_test.xml b/test/resource/ohos_test.xml index f1ffecd..d3c9f67 100644 --- a/test/resource/ohos_test.xml +++ b/test/resource/ohos_test.xml @@ -17,8 +17,8 @@