cancel notification with remoteInput not working
问题 I am showing a notification with RemoteInput like this: RemoteInput remoteInput = new RemoteInput.Builder("key_add_note") .setLabel("add note") .build(); PendingIntent AddNotePendingIntent = PendingIntent.getBroadcast(getApplicationContext(), (int) txn.get_id(), new Intent(getApplicationContext(), AddNoteBroadcastReceiver.class) .putExtra(Constants.IntentExtras.STA_TXN_ID, txn.get_id()), PendingIntent.FLAG_UPDATE_CURRENT); NotificationCompat.Action action = new NotificationCompat.Action