The following code is a part of a program which sends a status bar notification. Which is the
correct code to put into (1) so that it will automatically cancel the notification after it occurs?

A.
notification.flags |= Notification.FLAG_INSISTENT;
B.
notification.flags |= Notification.FLAG_AUTO_CANCEL;
C.
notification.setFlags(Notification.FLAG_AUTO_CANCEL);
D.
notification.setFlags(Notification. FLAGJNSISTENT);
Explanation:
Correct answer is B