删除图标
This commit is contained in:
parent
c4807b10ce
commit
2a822f1f6a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user