setAutoCancel(true) means:

  1. The notification is removed when the user taps it
  2. The notification can never be removed
  3. It disables sound
  4. It cancels the app
Answer

A) The notification is removed when the user taps it

Auto-cancel dismisses the notification on tap.

Computer Science MCQ · More Intents and Notifications MCQs · Practise