blob: 1eb0076a47c3e88278186ed0b28a985c2cf96a35 (
plain)
1
2
3
4
5
6
7
8
9
10
|
package ca.allanwang.kau.utils
import android.content.Context
import android.support.v4.app.NotificationManagerCompat
/**
* Created by Allan Wang on 2017-08-04.
*/
fun Context.cancelNotification(notifId: Int) = NotificationManagerCompat.from(this).cancel(notifId)
|