Files
Notification-Utilities/app/src/main/java/net/headlezz/notificationlogger/createnotification/NotificationAlarmReceiver.java
2016-01-01 16:01:56 +01:00

20 lines
620 B
Java

package net.headlezz.notificationlogger.createnotification;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import net.headlezz.notificationlogger.createnotification.DispatchableNotification;
public class NotificationAlarmReceiver extends BroadcastReceiver {
public static String BROADCAST_INTENT_ACTION = "net.headlezz.notificationbroadcast";
@Override
public void onReceive(Context context, Intent intent) {
DispatchableNotification dn = DispatchableNotification.fromBundle(context, intent.getExtras());
dn.dispatch();
}
}