|
|
@ -22,6 +22,10 @@ import android.content.Intent;
|
|
|
|
|
|
|
|
|
|
|
|
import net.micode.notes.ui.activities.AlarmAlertActivity;
|
|
|
|
import net.micode.notes.ui.activities.AlarmAlertActivity;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 闹钟广播消息的接收者
|
|
|
|
|
|
|
|
* 根据消息内容发起 Intent 调用
|
|
|
|
|
|
|
|
*/
|
|
|
|
public class AlarmReceiver extends BroadcastReceiver {
|
|
|
|
public class AlarmReceiver extends BroadcastReceiver {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onReceive(Context context, Intent intent) {
|
|
|
|
public void onReceive(Context context, Intent intent) {
|
|
|
|