title: Notification doesn't work at Samsung Galaxy Note5
body: <p>I need to show a notification when user do some actions on app.</p>
  
  <p>I can get it working on versions 6, 7, 8 and 9, and some of these are samsung. But the Galaxy Note5 is the only device that doesn't work.</p>
  
  <p>This is the code:</p>
  
  <pre><code>private void sendNotification(String messageBody) {
      Intent intent = new Intent(this, MainActivity.class);
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
      PendingIntent pendingIntent = PendingIntent.getActivity(this, 0 /* Request code */, intent,
              PendingIntent.FLAG_ONE_SHOT);
  
      String channelId = "channel test 1";
      Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
      NotificationCompat.Builder notificationBuilder =
              new NotificationCompat.Builder(this, channelId)
                      .setSmallIcon(R.drawable.ic_check_circle_black_24dp)
                      .setContentTitle("My App")
                      .setContentText(messageBody)
                      .setAutoCancel(true)
                      .setSound(defaultSoundUri)
                      .setContentIntent(pendingIntent);
  
      NotificationManager notificationManager =
              (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  
      // Since android Oreo notification channel is needed.
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {
          NotificationChannel channel = new NotificationChannel(channelId,
                  "Channel human readable title",
                  NotificationManager.IMPORTANCE_DEFAULT);
          notificationManager.createNotificationChannel(channel);
      }
  
      notificationManager.notify(0 /* ID of notification */, notificationBuilder.build());
  }
  </code></pre>
  
  <p>I'd tried a lot of variations of that code according by another topics that I found.</p>
  
  <p>The code doesn't show any error or warning.</p>
  
  <p>Can it be a device issue?</p>
  
  <p><strong>Edit 1:</strong></p>
  
  <p>I got this code from <a href="https://github.com/firebase/quickstart-android/blob/8ab219cb636ff5f7e8f8fdf5f8f6f77b3094e0f8/messaging/app/src/main/java/com/google/firebase/quickstart/fcm/java/MyFirebaseMessagingService.java" rel="nofollow noreferrer">Firabase quickstart</a> app:</p>