常驻通知栏UI优化。
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| #Created by .winboll/winboll_app_build.gradle | ||||
| #Sat May 03 12:42:25 GMT 2025 | ||||
| #Sat May 03 12:49:28 GMT 2025 | ||||
| stageCount=5 | ||||
| libraryProject= | ||||
| baseVersion=15.2 | ||||
| publishVersion=15.2.4 | ||||
| buildCount=13 | ||||
| buildCount=14 | ||||
| baseBetaVersion=15.2.5 | ||||
|   | ||||
| @@ -103,8 +103,9 @@ 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) | ||||
|             .setContentTitle(content) | ||||
|             //.setContentText(content) | ||||
|             .setContentIntent(pendingIntent) | ||||
|             .setPriority(NotificationCompat.PRIORITY_LOW) | ||||
|             .setOngoing(true) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen