优化常驻通知栏显示UI

This commit is contained in:
ZhanGSKen 2025-05-03 14:19:32 +08:00
parent 482c007481
commit 512c321b76
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat May 03 05:59:40 GMT 2025
#Sat May 03 06:18:02 GMT 2025
stageCount=1
libraryProject=
baseVersion=15.3
publishVersion=15.3.0
buildCount=3
buildCount=4
baseBetaVersion=15.3.1

View File

@ -83,8 +83,8 @@ public class NotificationHelper {
Notification notification = new NotificationCompat.Builder(mContext, CHANNEL_ID_FOREGROUND)
.setSmallIcon(R.drawable.ic_launcher)
.setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(), R.drawable.ic_launcher))
.setContentTitle(title)
.setContentText(content)
.setContentTitle(title + "\n" + content)
//.setContentText(content)
.setContentIntent(pendingIntent)
.setPriority(NotificationCompat.PRIORITY_LOW)
.setOngoing(true)