常驻通知栏UI优化。

This commit is contained in:
ZhanGSKen 2025-05-03 16:44:32 +08:00
parent 38e4deb425
commit 640f0c39e9
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat May 03 05:44:59 GMT 2025
#Sat May 03 08:40:10 GMT 2025
stageCount=1
libraryProject=
baseVersion=15.2
publishVersion=15.2.0
buildCount=72
buildCount=73
baseBetaVersion=15.2.1

View File

@ -55,8 +55,9 @@ public class NotificationUtil {
Notification mForegroundNotification = new Notification.Builder(service, szServiceChannelID)
.setAutoCancel(true)
.setContentTitle(service.getString(R.string.app_name))
.setContentText(service.TAG + " is started.")
//.setContentTitle(service.getString(R.string.app_name))
.setContentTitle(service.TAG + " is started.")
//.setContentText(service.TAG + " is started.")
.setWhen(System.currentTimeMillis())
.setSmallIcon(R.drawable.ic_launcher)
//设置红色