diff --git a/services/ans/include/advanced_notification_service.h b/services/ans/include/advanced_notification_service.h index 93ce0ab67e7923a256631c6fa85e503b777db6c9..0d4def9fad7066e097eb0d331d2d0fe2775bbbdf 100644 --- a/services/ans/include/advanced_notification_service.h +++ b/services/ans/include/advanced_notification_service.h @@ -1560,7 +1560,8 @@ private: const sptr &callback, const sptr &callerToken, const sptr bundleOption, - const bool innerLake); + const bool innerLake, + const bool easyAbroad); void ClearSlotTypeData(const sptr &request, int32_t callingUid, int32_t sourceType); template diff --git a/services/ans/include/notification_dialog.h b/services/ans/include/notification_dialog.h index 0703496def6aabd945964f6b9c0f64f37527619f..81b36ded6e8aedcf1ac8f145c8831d8660df1c72 100644 --- a/services/ans/include/notification_dialog.h +++ b/services/ans/include/notification_dialog.h @@ -35,7 +35,8 @@ public: int32_t uid, std::string appBundleName, const sptr &callerToken, - const bool innerLake); + const bool innerLake, + const bool easyAbroad); static int32_t GetUidByBundleName(const std::string &bundleName); }; diff --git a/services/ans/include/notification_dialog_manager.h b/services/ans/include/notification_dialog_manager.h index f51bbc44a2b96afa92d4920aad3986a52cd2605f..2b9d7d67975afc76e753df8fbfe588e8cad738d1 100644 --- a/services/ans/include/notification_dialog_manager.h +++ b/services/ans/include/notification_dialog_manager.h @@ -85,7 +85,8 @@ public: const sptr& bundle, const sptr& callback, const sptr& callerToken, - const bool innerLake + const bool innerLake, + const bool easyAbroad ); /* diff --git a/services/ans/src/advanced_notification_publish_service.cpp b/services/ans/src/advanced_notification_publish_service.cpp index 944754eebd16ebcd93708d5e836703f87bf35782..3d5728d7378ce333422d64315ed1e558b3dc41dd 100644 --- a/services/ans/src/advanced_notification_publish_service.cpp +++ b/services/ans/src/advanced_notification_publish_service.cpp @@ -75,8 +75,9 @@ constexpr const char *CONTACT_DATA = "datashare:///com.ohos.contactsdataability/ constexpr const char *SUPPORT_INTEGELLIGENT_SCENE = "true"; constexpr int32_t OPERATION_TYPE_COMMON_EVENT = 4; const static std::string BUNDLE_NAME_ZYT = "com.zhuoyi.appstore.lite"; -const static std::string BUNDLE_NAME_ABROAD = "com.easy.transfer.abroad"; +const static std::string BUNDLE_NAME_ABROAD = "com.easy.abroad"; const static std::string INSTALL_SOURCE_EASYABROAD = "com.easy.abroad"; +constexpr int32_t ZERO_USER_ID = 0; constexpr int32_t BADGE_NUM_LIMIT = 0; constexpr int32_t CLEAR_SLOT_FROM_AVSEESAION = 1; constexpr int32_t CLEAR_SLOT_FROM_RSS = 2; @@ -1066,7 +1067,7 @@ ErrCode AdvancedNotificationService::RequestEnableNotification(const std::string ANS_LOGE("bundleOption is nullptr."); return ERROR_INTERNAL_ERROR; } - return CommonRequestEnableNotification(deviceId, callback, callerToken, bundleOption, false); + return CommonRequestEnableNotification(deviceId, callback, callerToken, bundleOption, false, false); } ErrCode AdvancedNotificationService::RequestEnableNotification(const std::string& bundleName, int32_t uid) @@ -1081,24 +1082,28 @@ ErrCode AdvancedNotificationService::RequestEnableNotification(const std::string } AppExecFwk::BundleInfo bundleInfo; - BundleManagerHelper::GetInstance()->GetBundleInfoV9(bundleName, 1, bundleInfo, 0); + bool ret = BundleManagerHelper::GetInstance()->GetBundleInfoV9(bundleName, + static_cast(AppExecFwk::GetBundleInfoFlag::GET_BUNDLE_INFO_WITH_APPLICATION), + bundleInfo, ZERO_USER_ID); + bool easyAbroad = false; if (bundleInfo.applicationInfo.installSource == INSTALL_SOURCE_EASYABROAD) { ANS_LOGI("RequestEnableNotification abroad app"); - return ERR_ANS_NOT_ALLOWED; + easyAbroad = true; } sptr bundleOption = new (std::nothrow) NotificationBundleOption(bundleName, uid); if (bundleOption == nullptr) { ANS_LOGE("bundleOption is nullptr."); return ERROR_INTERNAL_ERROR; } - return CommonRequestEnableNotification("", nullptr, nullptr, bundleOption, true); + return CommonRequestEnableNotification("", nullptr, nullptr, bundleOption, true, easyAbroad); } ErrCode AdvancedNotificationService::CommonRequestEnableNotification(const std::string &deviceId, const sptr &callback, const sptr &callerToken, const sptr bundleOption, - const bool innerLake) + const bool innerLake, + const bool easyAbroad) { ANS_LOGI("%{public}s", __FUNCTION__); ErrCode result = ERR_OK; @@ -1148,7 +1153,8 @@ ErrCode AdvancedNotificationService::CommonRequestEnableNotification(const std:: return ERROR_INTERNAL_ERROR; } - result = dialogManager_->RequestEnableNotificationDailog(bundleOption, callback, callerToken, innerLake); + result = dialogManager_->RequestEnableNotificationDailog(bundleOption, + callback, callerToken, innerLake, easyAbroad); if (result == ERR_OK) { result = ERR_ANS_DIALOG_POP_SUCCEEDED; } diff --git a/services/ans/src/notification_dialog.cpp b/services/ans/src/notification_dialog.cpp index 5698fabc4360b04640ba29eda4d774847a570ae5..1942bc9d5f9b13424e582139b4f3aa4100475c62 100644 --- a/services/ans/src/notification_dialog.cpp +++ b/services/ans/src/notification_dialog.cpp @@ -45,7 +45,8 @@ ErrCode NotificationDialog::StartEnableNotificationDialogAbility( int32_t uid, std::string appBundleName, const sptr &callerToken, - const bool innerLake) + const bool innerLake, + const bool easyAbroad) { ANS_LOGD("%{public}s, Enter.", __func__); @@ -78,6 +79,7 @@ ErrCode NotificationDialog::StartEnableNotificationDialogAbility( root["bundleUid"] = uid; root["ability.want.params.uiExtensionType"] = uiExtensionType; root["innerLake"] = innerLake; + root["easyAbroad"] = easyAbroad; std::string command = root.dump(); auto connection_ = sptr(new (std::nothrow) SystemDialogConnectStb(command)); diff --git a/services/ans/src/notification_dialog_manager.cpp b/services/ans/src/notification_dialog_manager.cpp index 6b32f0b2aecfc9305106b43be5980446b5ed1485..2e2f4e23bada6d5a88f003fe02d586d26d0f683f 100644 --- a/services/ans/src/notification_dialog_manager.cpp +++ b/services/ans/src/notification_dialog_manager.cpp @@ -89,7 +89,8 @@ ErrCode NotificationDialogManager::RequestEnableNotificationDailog( const sptr& bundle, const sptr& callback, const sptr& callerToken, - const bool innerLake) + const bool innerLake, + const bool easyAbroad) { if (!AddDialogInfoIfNotExist(bundle, callback)) { ANS_LOGE("AddDialogIfNotExist failed. Dialog already exists. bundle = %{public}s", @@ -102,7 +103,8 @@ ErrCode NotificationDialogManager::RequestEnableNotificationDailog( bundle->GetUid(), bundle->GetBundleName(), callerToken, - innerLake); + innerLake, + easyAbroad); if (result != ERR_OK) { ANS_LOGE("StartEnableNotificationDialogAbility failed, result = %{public}d", result); std::unique_ptr dialogInfoRemoved = nullptr; diff --git a/services/ans/test/unittest/advanced_notification_publish_service_test.cpp b/services/ans/test/unittest/advanced_notification_publish_service_test.cpp index 38463ac082b18384ba03522a10c89380edaed641..3eae6c8d4de6c791b6517eb5c28c6f294c9a64ac 100644 --- a/services/ans/test/unittest/advanced_notification_publish_service_test.cpp +++ b/services/ans/test/unittest/advanced_notification_publish_service_test.cpp @@ -674,7 +674,7 @@ HWTEST_F(AnsPublishServiceTest, RequestEnableNotification_00005, Function | Smal MockIsVerfyPermisson(true); ret = advancedNotificationService_->RequestEnableNotification(bundleName, uid); ASSERT_EQ(ret, (int)ERR_ANS_NOT_ALLOWED); - bundleName = "com.easy.transfer.abroad"; + bundleName = "com.easy.abroad"; ret = advancedNotificationService_->RequestEnableNotification(bundleName, uid); ASSERT_EQ(ret, (int)ERR_ANS_NOT_ALLOWED); } @@ -691,7 +691,7 @@ HWTEST_F(AnsPublishServiceTest, CommonRequestEnableNotification_00001, Function sptr bundleOption = nullptr; bool innerLake = true; auto ret = advancedNotificationService_-> - CommonRequestEnableNotification(deviceId, nullptr, nullptr, bundleOption, innerLake); + CommonRequestEnableNotification(deviceId, nullptr, nullptr, bundleOption, innerLake, false); ASSERT_EQ(ret, (int)ERROR_INTERNAL_ERROR); } @@ -711,7 +711,7 @@ HWTEST_F(AnsPublishServiceTest, CommonRequestEnableNotification_00002, Function auto ret = advancedNotificationService_->SetNotificationsEnabledForAllBundles(std::string(), true); ASSERT_EQ(ret, (int)ERR_OK); ret = advancedNotificationService_-> - CommonRequestEnableNotification(deviceId, nullptr, nullptr, bundle, innerLake); + CommonRequestEnableNotification(deviceId, nullptr, nullptr, bundle, innerLake, false); ASSERT_EQ(ret, (int)ERR_ANS_INVALID_BUNDLE); } @@ -728,7 +728,7 @@ HWTEST_F(AnsPublishServiceTest, CommonRequestEnableNotification_00003, Function sptr bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); bool innerLake = true; auto ret = advancedNotificationService_-> - CommonRequestEnableNotification(deviceId, nullptr, nullptr, bundle, innerLake); + CommonRequestEnableNotification(deviceId, nullptr, nullptr, bundle, innerLake, false); ASSERT_EQ(ret, (int)ERROR_INTERNAL_ERROR); } diff --git a/services/ans/test/unittest/advanced_notification_service_test.cpp b/services/ans/test/unittest/advanced_notification_service_test.cpp index 65738f8e4cda3d79b49547a1ccbe7feb3cb82777..5ff01c6c30a4c97e30be71042c23b3289dfce1fd 100644 --- a/services/ans/test/unittest/advanced_notification_service_test.cpp +++ b/services/ans/test/unittest/advanced_notification_service_test.cpp @@ -4273,7 +4273,7 @@ HWTEST_F(AdvancedNotificationServiceTest, Dialog_00001, Function | SmallTest | L "test", 1), (int)ERROR_INTERNAL_ERROR); auto ret = advancedNotificationService_->dialogManager_ - ->RequestEnableNotificationDailog(bundleOption, nullptr, client, true); + ->RequestEnableNotificationDailog(bundleOption, nullptr, client, true, false); ASSERT_EQ(ret, (int)ERR_ANS_INVALID_BUNDLE); ASSERT_EQ(advancedNotificationService_->dialogManager_->OnBundleEnabledStatusChanged(DialogStatus::ALLOW_CLICKED, @@ -4284,7 +4284,7 @@ HWTEST_F(AdvancedNotificationServiceTest, Dialog_00001, Function | SmallTest | L ASSERT_EQ(advancedNotificationService_->dialogManager_->AddDialogInfoIfNotExist(bundleOption, nullptr), false); ret = advancedNotificationService_->dialogManager_ - ->RequestEnableNotificationDailog(bundleOption, nullptr, client, true); + ->RequestEnableNotificationDailog(bundleOption, nullptr, client, true, false); ASSERT_EQ(ret, (int)ERR_ANS_DIALOG_IS_POPPING); ASSERT_EQ(advancedNotificationService_->dialogManager_->OnBundleEnabledStatusChanged(DialogStatus::ALLOW_CLICKED, diff --git a/services/ans/test/unittest/notification_dialog_test/notification_dialog_test.cpp b/services/ans/test/unittest/notification_dialog_test/notification_dialog_test.cpp index 9d33df52aa5e67abaf465684ac40ea206d6f0466..645c7bc7233c02716787fc6cf8f23cbfecf157eb 100644 --- a/services/ans/test/unittest/notification_dialog_test/notification_dialog_test.cpp +++ b/services/ans/test/unittest/notification_dialog_test/notification_dialog_test.cpp @@ -75,6 +75,7 @@ HWTEST_F(NotificationDialogTest, NotificationDialog_00300, Function | SmallTest uid, bundleName, callerToken, + false, false); ASSERT_EQ(result3, ERR_ANS_INVALID_BUNDLE); } @@ -101,6 +102,7 @@ HWTEST_F(NotificationDialogTest, NotificationDialog_00400, Function | SmallTest uid, bundleName, callerToken, + false, false); ASSERT_EQ(result3, ERR_ANS_INVALID_BUNDLE); } @@ -127,7 +129,8 @@ HWTEST_F(NotificationDialogTest, NotificationDialog_00500, Function | SmallTest uid, bundleName, callerToken, - true); + true, + false); ASSERT_EQ(result3, ERR_ANS_INVALID_BUNDLE); } @@ -150,7 +153,8 @@ HWTEST_F(NotificationDialogTest, NotificationDialog_00600, Function | SmallTest uid, bundleName, callerToken, - true); + true, + false); ASSERT_EQ(result, (int)ERR_OK); } } // namespace Notification diff --git a/services/dialog_ui/enable_notification_dialog/AppScope/app.json b/services/dialog_ui/enable_notification_dialog/AppScope/app.json index fba0af917c0d9b83d268a80d5c7867d61ae0cfd9..f176fce5dc1b068331e349b7d76824921882926f 100644 --- a/services/dialog_ui/enable_notification_dialog/AppScope/app.json +++ b/services/dialog_ui/enable_notification_dialog/AppScope/app.json @@ -2,8 +2,8 @@ "app": { "bundleName": "com.ohos.notificationdialog", "vendor": "example", - "versionCode": 1000022, - "versionName": "1.2.2", + "versionCode": 1000023, + "versionName": "1.2.3", "icon": "$media:app_icon", "label": "$string:app_name", "distributedNotificationEnabled": true, diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/NotificationServiceExtAbility.ts b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/NotificationServiceExtAbility.ts index edae6b6e4bc5e98e353a4c169bee70cec5b0f44b..50b63ba2099bcc87339b3f667936deb6fdd9dbe4 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/NotificationServiceExtAbility.ts +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/ServiceExtAbility/NotificationServiceExtAbility.ts @@ -98,8 +98,9 @@ export class EnableNotificationDialog { subWindow: window.Window; initSubWindowSize: boolean; innerLake: boolean; + easyAbroad: boolean; - constructor(id: number, want: Want, stageModel: boolean, innerLake: boolean) { + constructor(id: number, want: Want, stageModel: boolean, innerLake: boolean, easyAbroad: boolean) { this.id = id; this.want = want; this.stageModel = stageModel; @@ -107,6 +108,7 @@ export class EnableNotificationDialog { this.extensionWindow = undefined; this.initSubWindowSize = false; this.innerLake = innerLake; + this.easyAbroad = easyAbroad; } @@ -298,6 +300,7 @@ class NotificationDialogServiceExtensionAbility extends UIExtensionAbility { let bundleName = want.parameters['ohos.aafwk.param.callerBundleName']; let bundleUid = want.parameters['ohos.aafwk.param.callerUid']; let innerLake = false; + let easyAbroad = false; if (bundleName !== EnableNotificationDialog.SCENEBOARD_BUNDLE && bundleName !== EnableNotificationDialog.SYSTEMUI_BUNDLE) { want.parameters.bundleName = bundleName; @@ -307,11 +310,12 @@ class NotificationDialogServiceExtensionAbility extends UIExtensionAbility { } else { stageModel = false; innerLake = Boolean(want.parameters.innerLake); - console.log(TAG, ` un stage model innerLake = , ${innerLake}`); + easyAbroad = Boolean(want.parameters.easyAbroad); + console.log(TAG, ` un stage model innerLake = ${innerLake}, easyAbroad = ${easyAbroad}`); } console.log(TAG, `UIExtAbility onSessionCreate bundleName ${want.parameters.bundleName}` + `uid ${want.parameters.bundleUid}`); - let dialog = new EnableNotificationDialog(1, want, stageModel, innerLake); + let dialog = new EnableNotificationDialog(1, want, stageModel, innerLake, easyAbroad); await dialog.createUiExtensionWindow(session, stageModel); AppStorage.setOrCreate('dialog', dialog); } catch (err) { diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets index d17bf72ec6398e255dda38162bd3162508f5f298..881bb7da733be770aebd5b9ab3657feb8adfa6d6 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets @@ -151,10 +151,12 @@ struct PermissionDialog { Row() { Flex({ justifyContent: FlexAlign.Center }) { Text() { - if (!this.dialog.innerLake) { - Span(permission.reason) - } else { + if (this.dialog.easyAbroad) { + Span($r('app.string.reason_cjy')) + } else if (this.dialog.innerLake) { Span($r('app.string.reason_zyt')) + } else { + Span(permission.reason) } } .fontSize(Constants.DIALOG_DESP_FONT_SIZE) diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json index e9e3f71a688b03e8e90059149f1b5f21db6896c2..a4aae2c7996d472384e9e2e3865ab91603efd9ba 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json @@ -24,6 +24,10 @@ "name":"reason_zyt", "value":"These may include lock screen notifications, banners, badges, sounds, and vibration. You can change these settings in DroiTong > App management." }, + { + "name":"reason_cjy", + "value":"These may include lock screen notifications, banners, badges, sounds, and vibration. You can change these settings in EasyAbroad > App management." + }, { "name":"reason_tv", "value":"Notifications will be delivered as banners. You can change your notification preferences at any time in Settings." diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json index 7f65f13d5e6e0a7eaba10b65a27c5d0aaad7deb0..aaf0644b7edd3c64af820645947d7ddd6efe2267 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json @@ -24,6 +24,10 @@ "name":"reason_zyt", "value":"བརྡ་ཐོའི་དྲན་སྐུལ་གྱི་ཐབས་ལམ་ལ་སྒོ་ལྕགས་བརྙན་ཡོལ་དང་། འཕྲེད་བྱང་། ཟུར་རྟགས། དྲིལ་སྒྲ། སྦིར་བརྡ་བཅས་ཚུད་སྲིད། ༼DroiTong༽>༼ ཉེར་སྤྱོད་དོ་དམ་༽ལ་བསྐྱོད་ནས་བཅོས་ཆོག" }, + { + "name":"reason_cjy", + "value":"བརྡ་ཐོའི་དྲན་སྐུལ་གྱི་ཐབས་ལམ་ལ་སྒོ་ལྕགས་བརྙན་ཡོལ་དང་། འཕྲེད་བྱང་། ཟུར་རྟགས། དྲིལ་སྒྲ། སྦིར་བརྡ་བཅས་ཚུད་སྲིད། ༼ཁོངས་བརྒལ་བདེ་༽>༼ ཉེར་སྤྱོད་དོ་དམ་༽ལ་བསྐྱོད་ནས་བཅོས་ཆོག" + }, { "name":"reason_tv", "value":"الداق ئۇقتۇرۇش شۇنىڭ ئىچىدە. بۇ تاللانمىنى تەڭشەكتىن ئۆزگەرتەلەيسىز." diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json index 0f5d2b0cf9b4489666b0898bd140969ee38493b8..55ef05155cae18bddcbc8cc197dc27a91e08f8b8 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json @@ -24,6 +24,10 @@ "name":"reason_zyt", "value":"قۇلۇپ ئېكرانى، بالداق، تامغا، ئاۋاز ۋە تىترەش شۇنىڭ ئىچىدە. DroiTong > ئەپ باشقۇرۇش دېگەن ئورۇندىن ئۆزگەرتەلەيسىز." }, + { + "name":"reason_cjy", + "value":"قۇلۇپ ئېكرانى، بالداق، تامغا، ئاۋاز ۋە تىترەش شۇنىڭ ئىچىدە. چۇجىڭيى (چېگرا قولايلىقى) > ئەپ باشقۇرۇش دېگەن ئورۇندىن ئۆزگەرتەلەيسىز." + }, { "name":"ALLOW", "value":"رۇخسەت", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json index e4174791689f03771bf653b3430cd3026fc990fe..0eddc21e9da5079eefdb6521128ae3280da44f26 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json @@ -24,6 +24,10 @@ "name":"reason_zyt", "value":"通知提醒方式可能包括锁屏、横幅、角标、响铃、振动。可前往“卓易通”>“应用管理”更改。" }, + { + "name":"reason_cjy", + "value":"通知提醒方式可能包括锁屏、横幅、角标、响铃、振动。可前往“出境易”>“应用管理”更改。" + }, { "name":"reason_tv", "value":"通知提醒方式包括横幅。可前往“设置”更改。" diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json index 0b7ee0c7adc4b10af5d3845377f9fbd0224fd0d0..8de6ed11c5a1c68e466980cface7948e8c0507e4 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json @@ -22,7 +22,11 @@ }, { "name":"reason_zyt", - "value":"通知提醒方式可能包括鎖屏、橫幅、徽章圖標、響鬧、震動。可前往「DroiTong」>「應用程式管理」更改。" + "value":"通知提醒方式可能包括鎖屏、橫幅、徽章圖標、響鬧、震動。可前往「卓易通」>「應用程式管理」更改。" + }, + { + "name":"reason_cjy", + "value":"通知提醒方式可能包括鎖屏、橫幅、徽章圖標、響鬧、震動。可前往「出境易」>「應用程式管理」更改。" }, { "name":"reason_tv", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json index 1a57e8f543706dd53a1da79630375f5667a36917..dd162e26c8ec79e01853fea718c53f971a8ad16a 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json @@ -22,7 +22,11 @@ }, { "name":"reason_zyt", - "value":"通知提醒方式可能包括鎖定螢幕、橫幅、徽章圖示、響鈴和振動。您可以前往「DroiTong」>「應用程式管理」變更。" + "value":"通知提醒方式可能包括鎖定螢幕、橫幅、徽章圖示、響鈴和振動。您可以前往「卓易通」>「應用程式管理」變更。" + }, + { + "name":"reason_cjy", + "value":"通知提醒方式可能包括鎖定螢幕、橫幅、徽章圖示、響鈴和振動。您可前往「出境易」>「應用程式管理」變更。" }, { "name":"reason_tv",