fix opening the event through the notification
This commit is contained in:
parent
4e294d89d8
commit
bbdc79cffa
|
@ -34,7 +34,7 @@ public class NotificationPublisher extends BroadcastReceiver {
|
||||||
private PendingIntent getPendingIntent(Context context, Event event) {
|
private PendingIntent getPendingIntent(Context context, Event event) {
|
||||||
final Intent intent = new Intent(context, EventActivity.class);
|
final Intent intent = new Intent(context, EventActivity.class);
|
||||||
intent.putExtra(Constants.EVENT, event);
|
intent.putExtra(Constants.EVENT, event);
|
||||||
return PendingIntent.getActivity(context, 0, intent, 0);
|
return PendingIntent.getActivity(context, event.getId(), intent, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Notification getNotification(Context context, PendingIntent pendingIntent, String content) {
|
private Notification getNotification(Context context, PendingIntent pendingIntent, String content) {
|
||||||
|
|
Loading…
Reference in New Issue