优化常驻通知栏显示UI
This commit is contained in:
parent
482c007481
commit
512c321b76
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user