Commit c7790af
committed
fix: handle NoDisplay apps in notification settings
1. Removed NoDisplay app filtering in
NotificationSetting::appItemsImpl() to ensure all apps are processed
2. Added debug log in NotificationManager::Notify() to track when app
names are translated from AM
3. This fixes an issue where applications marked as NoDisplay were not
being translated in the notification system
The change ensures that translation works for all applications
regardless of their NoDisplay status, while maintaining debug visibility
into translation operations.
fix: 处理通知设置中的NoDisplay应用
1. 移除了NotificationSetting::appItemsImpl()中对NoDisplay应用的过滤,确
保所有应用都被处理
2. 在NotificationManager::Notify()中添加了调试日志,用于跟踪何时从AM翻译
应用名称
3. 修复了标记为NoDisplay的应用在通知系统中未被翻译的问题
此更改确保无论应用的NoDisplay状态如何,翻译都能正常工作,同时保持对翻译
操作的调试可见性。1 parent a60d9fb commit c7790af
File tree
2 files changed
+2
-3
lines changed- panels/notification/server
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 250 | | |
254 | 251 | | |
255 | 252 | | |
| |||
0 commit comments