package de.christinecoenen.code.zapp.app.mediathek.controller;

import android.app.DownloadManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;


public class DownloadReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		String action = intent.getAction();

		if (DownloadManager.ACTION_NOTIFICATION_CLICKED.equals(action)) {
			context.startActivity(new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS));
		}
	}
}

@@ -441,30 +441,39 @@
 %0A%09%09%09
-context.startActivity(
+Intent downloadManagerIntent = 
 new 
@@ -517,16 +517,130 @@
 WNLOADS)
+;%0A%09%09%09downloadManagerIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);%0A%09%09%09context.startActivity(downloadManagerIntent
 );%0A%09%09%7D%0A%09

Fix crash on api level 23 when clicking download notification