title: How to replace setLatestEventInfo
body: <p>I'm looking for a way to replace <code>setLatestEventInfo</code> to make this code work. I know that <code>setLatestEventInfo</code> can't be used on API 23 and up and that there are several other questions which have already been answered but I don't get how to use notification builder in my case.</p>
  
  <pre><code>    Notification notification = new Notification(mNotificationIcon, mNotificationContentTitle, mNotificationWhen);
      Context context = getApplicationContext();
      Intent notificationIntent = new Intent(this, MagicClock.class);
      PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
  
      notification.setLatestEventInfo(context, mNotificationContentTitle, mNotificationContentText, contentIntent);
      notification.flags |= Notification.FLAG_AUTO_CANCEL;
      mNotificationManager.notify(MagicClock.NOTIFICATION_ID_LOCATION, notification);
  </code></pre>