按审查报告修复 M1-M4 与 L1-L8;版本 0.7(versionCode 23)

This commit is contained in:
XIGE
2026-11-28 21:21:36 +08:00
parent 3ad599add7
commit 4afe99cb09
14 changed files with 129 additions and 59 deletions

View File

@@ -104,7 +104,7 @@ class TimerService : Service() {
private fun startForegroundCompat() {
val notification = Notif.buildOngoing(this)
runCatching {
// 两参版本会读清单里声明的前台服务类型(dataSync)。
// 两参版本会读清单里声明的前台服务类型(specialUse)。
// 不用三参 + SPECIAL_USE:该类型 Android 14 才引入,
// 在 P30 的 Android 12 上传进去会直接抛 IllegalArgumentException。
startForeground(Notif.ID_ONGOING, notification)