优化通知栏显示文字
This commit is contained in:
		| @@ -1,8 +1,8 @@ | |||||||
| #Created by .winboll/winboll_app_build.gradle | #Created by .winboll/winboll_app_build.gradle | ||||||
| #Sat May 03 06:18:02 GMT 2025 | #Sat May 03 06:21:11 GMT 2025 | ||||||
| stageCount=1 | stageCount=1 | ||||||
| libraryProject= | libraryProject= | ||||||
| baseVersion=15.3 | baseVersion=15.3 | ||||||
| publishVersion=15.3.0 | publishVersion=15.3.0 | ||||||
| buildCount=4 | buildCount=5 | ||||||
| baseBetaVersion=15.3.1 | baseBetaVersion=15.3.1 | ||||||
|   | |||||||
| @@ -83,7 +83,8 @@ public class NotificationHelper { | |||||||
|         Notification notification = new NotificationCompat.Builder(mContext, CHANNEL_ID_FOREGROUND) |         Notification notification = new NotificationCompat.Builder(mContext, CHANNEL_ID_FOREGROUND) | ||||||
|             .setSmallIcon(R.drawable.ic_launcher) |             .setSmallIcon(R.drawable.ic_launcher) | ||||||
|             .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(), R.drawable.ic_launcher)) |             .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(), R.drawable.ic_launcher)) | ||||||
|             .setContentTitle(title + "\n" + content) |             //.setContentTitle(title + "\n" + content) | ||||||
|  |             .setContentTitle(content) | ||||||
|             //.setContentText(content) |             //.setContentText(content) | ||||||
|             .setContentIntent(pendingIntent) |             .setContentIntent(pendingIntent) | ||||||
|             .setPriority(NotificationCompat.PRIORITY_LOW) |             .setPriority(NotificationCompat.PRIORITY_LOW) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen