blob: ac94b527a2689dcfda1bc4f45d9d60448d58fa24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package com.pitchedapps.frost.services
import android.content.Context
import android.content.Intent
/**
* Created by Allan Wang on 2017-06-14.
*/
fun Context.requestNotifications(id: Long) {
val intent = Intent(this, NotificationService::class.java)
intent.putExtra(NotificationService.ARG_ID, id)
startService(intent)
}
|