Ошибка при нажатии на уведомление на моем устройстве, которое не перенаправлено на активность моего приложения.
private void processStartNotification() {
Builder builder = new Builder(this);
builder.setContentTitle("DAILY NOTFICATION!")
.setAutoCancel(true).setColor(getResources()
.getColor(R.color.colorPrimary))
.setContentText("CLICK DAILY NOTIFICATION.")
.setSmallIcon(R.mipmap.appicon1)
.setVibrate(new long[] {
1000, 1000, 1000, 1000, 1000
});
builder.setContentIntent(PendingIntent.getActivity(this, NOTIFICATION_ID, new Intent(this, Simplfylast.class), PendingIntent.FLAG_UPDATE_CURRENT));
// The stack builder object will contain an artificial back stack for the started Activity.
// This ensures that navigating backward from the Activity leads out of your application to the Home screen.
builder.setDeleteIntent(NotificationEventReceiver.getDeleteIntent(this));
((NotificationManager) getSystemService("notification")).notify(NOTIFICATION_ID, builder.build());
}