Clicking Android Notification Actions does not close Notification drawer
问题 I am adding a Notification to System bar using the NotificationCompat library. This Notification has two action buttons. Also, AutoCancel() property on the Notification is set to true. On Click of the action buttons, System is configured to launch an IntentService which calls NotificationManager.cancel(NOTIFICATION_ID) and then launches an Activity in a New Task. Problem is that though this call removes the notification from the tray, it does not collapse the drawer. The called Activity is