2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-01 06:35:09 +00:00

Make sending files 100% less noisy

This commit is contained in:
Nicolas Fella
2018-10-30 17:15:13 +01:00
parent a9ab77471e
commit 84bc31b413

View File

@@ -39,7 +39,7 @@ class NotificationUpdateCallback extends Device.SendPacketStatusCallback {
} }
notificationManager = (NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE); notificationManager = (NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE);
builder = new NotificationCompat.Builder(context, NotificationHelper.Channels.DEFAULT) builder = new NotificationCompat.Builder(context, NotificationHelper.Channels.FILETRANSFER)
.setSmallIcon(android.R.drawable.stat_sys_upload) .setSmallIcon(android.R.drawable.stat_sys_upload)
.setAutoCancel(true) .setAutoCancel(true)
.setProgress(100, 0, false) .setProgress(100, 0, false)