删除图标

This commit is contained in:
Jerry Yan 2020-03-14 19:25:44 +08:00
parent c4807b10ce
commit 2a822f1f6a

View File

@ -46,7 +46,7 @@ public class ProgressNotificationUtil {
return new NotificationCompat.Builder(mContext, channelId).setAutoCancel(true)
.setContentTitle(title)
.setContentText(content).setSmallIcon(R.mipmap.ic_launcher);
.setContentText(content);
}
@ -80,7 +80,7 @@ public class ProgressNotificationUtil {
builder.setDefaults(Notification.FLAG_ONLY_ALERT_ONCE);
builder.setProgress(100, progress, false);
builder.setWhen(System.currentTimeMillis());
getManager(mContext).notify(R.drawable.ic_launcher, builder.build());
getManager(mContext).notify(79, builder.build());
}
public static void cancleNotification(Context mContext, int manageId) {