新增 设置 - 显示通知重要程度

此功能为 AOSP 通知的标准功能,从 MIUI 12 开始被隐藏
请参见:
- https://developer.android.com/guide/topics/ui/notifiers/notifications?hl=zh-cn#importance
- https://www.coolapk.com/feed/24638207?shareKey=YzcwZGMzNzM2NWQ3NjIyOTU4NzY~
This commit is contained in:
ztc1997
2022-03-10 09:53:04 +08:00
parent abb9c12d71
commit 34e509abe8
9 changed files with 102 additions and 1 deletions

View File

@@ -144,4 +144,7 @@
<string name="updater">系统更新</string>
<string name="remove_ota_validate">*移除OTA验证 [实验性]</string>
<string name="remove_ota_validate_summary">- 仅支持VAB系列使用其余系列请不要开启。\n- 无需内测试资格即可刷入完整内测包。\n- 拥有内测权限的用户将无法接收内测更新\n可用于屏蔽系统更新。\n- 跨版本类型升级后,建议清空数据。\n- 不支持非官方ROM使用。</string>
<string name="settings">设置</string>
<string name="show_notification_importance_summary">显示 MIUI12 及之后版本被隐藏的通知重要程度设置</string>
<string name="show_notification_importance">显示通知重要程度</string>
</resources>

View File

@@ -144,4 +144,7 @@
<string name="updater">系統更新</string>
<string name="remove_ota_validate">*移除OTA驗證 [實驗性]</string>
<string name="remove_ota_validate_summary">- 僅支持VAB系列使用其餘系列請不要開啟。\n- 無需內測試資格即可刷入完整內測包。\n- 擁有內測權限的用戶將無法接收內測更新\n可用於屏蔽系統更新。\n- 跨版本類型升級後,建議清空數據。\n- 不支持非官方ROM使用。</string>
<string name="show_notification_importance_summary">顯示 MIUI12 及之後版本被隱藏的通知重要程度設定</string>
<string name="show_notification_importance">顯示通知重要程度</string>
<string name="settings">設定</string>
</resources>

View File

@@ -144,4 +144,7 @@
<string name="updater">系統更新</string>
<string name="remove_ota_validate">*移除OTA驗證 [實驗性]</string>
<string name="remove_ota_validate_summary">- 僅支持VAB系列使用其餘系列請不要開啟。\n- 無需內測試資格即可刷入完整內測包。\n- 擁有內測權限的用戶將無法接收內測更新\n可用於屏蔽系統更新。\n- 跨版本類型升級後,建議清空數據。\n- 不支持非官方ROM使用。</string>
<string name="show_notification_importance">顯示通知重要程度</string>
<string name="show_notification_importance_summary">顯示 MIUI12 及之後版本被隱藏的通知重要程度設定</string>
<string name="settings">設定</string>
</resources>

View File

@@ -8,5 +8,6 @@
<item>com.miui.home</item>
<item>com.miui.mediaeditor</item>
<item>com.android.updater</item>
<item>com.android.settings</item>
</string-array>
</resources>

View File

@@ -144,4 +144,7 @@
<string name="updater">Updater</string>
<string name="remove_ota_validate">*Remove OTA validate [LAB]</string>
<string name="remove_ota_validate_summary">- Only support VAB series use, please do not open other series.\n- No need for internal testing qualification to flash into the full internal testing package.\n- Those who have internal testing permission will not be able to receive internal testing updates, and can be used to block system updates.\n- After cross-version type upgrade, it is recommended to clear data.\n- Unofficial ROM usage is not supported.</string>
<string name="settings">Settings</string>
<string name="show_notification_importance">Show notification importance</string>
<string name="show_notification_importance_summary">Show notification importance settings which are hidden in MIUI 12 and later versions</string>
</resources>