Here you can find the source of setBlankContentIntent(Context context, NotificationCompat.Builder builder)
private static void setBlankContentIntent(Context context, NotificationCompat.Builder builder)
//package com.java2s; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.support.v4.app.NotificationCompat; public class Main { private static void setBlankContentIntent(Context context, NotificationCompat.Builder builder) { Intent intent = new Intent(""); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK); PendingIntent contentIntent = PendingIntent.getActivity(context, 0, intent, 0);//from w w w . j av a2s. com builder.setContentIntent(contentIntent); } }