title: Notification cancel not working
body: <p>Notification canceling works when i have one device. But when i add one more device with another id, it not cancel any of notifications. I dont understand what i am doing wrong.</p>
  
  <p>Here is some code</p>
  
  <pre><code>private void cancelNotification(RemoteMessage remoteMessage) 
  {
      int id = Integer.parseInt(remoteMessage.getData().get("id"));
      NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
      notificationManager.cancel(id);
  }
  
  private void sendNotification(RemoteMessage remoteMessage) 
  {
      Intent intent = new Intent(this, Activity.class);
      intent.putExtra("url",remoteMessage.getData().get("url"));
      PendingIntent pintent = PendingIntent.getActivity(this, (int) System.currentTimeMillis(), intent , 0);
  
      Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
  
      Notification notificationBuilder = new Notification.Builder(this)
              .setLargeIcon(BitmapFactory.decodeResource(getResources(),R.drawable.splash_launcher))
              .setSmallIcon(R.drawable.splash_launcher)
              .setContentTitle(remoteMessage.getData().get("title"))
              .setContentText(remoteMessage.getData().get("text"))
              .setAutoCancel(true)
              .setSound(defaultSoundUri)
              .setContentIntent(pintent)
              .build();
  
      int id = Integer.parseInt(remoteMessage.getData().get("id"));
      NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
      notificationManager.notify(id, notificationBuilder);
  }
  </code></pre>