title: How to make notification clickable?
body: <p>My notification can show but I would also want it to be clickable so that when it's clicked it would open the same activity it came from.</p>
  
  <pre><code>public void acceptNotification(){
          NotificationCompat.Builder builder = new NotificationCompat.Builder(RequestConfirm.this);
          builder.setSmallIcon(R.mipmap.ic_launcher);
          builder.setContentTitle("PEOPLE HELPER");
          builder.setContentText("Your request has been accepted");
  
          Intent intent = new Intent(RequestConfirm.this, BroadcastFragment.class); //creates an explicit intent
          TaskStackBuilder stackBuilder = TaskStackBuilder.create(RequestConfirm.this);
          stackBuilder.addParentStack(RequestConfirm.this); //adds the intent
          stackBuilder.addNextIntent(intent);  //put the intent to the top of the stack
          PendingIntent pendingIntent = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT); //(id, flag) //creates a pending intent
          builder.setContentIntent(pendingIntent); //adds the PendingIntent to the builder
          NotificationManager notificationManager = (NotificationManager) RequestConfirm.this.getSystemService(Context.NOTIFICATION_SERVICE);
          notificationManager.notify(0, builder.build());
      }
  </code></pre>