blob: 23a8370cab1dcaf9b6c3f79b87e723d4357db290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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)
|