Since Android 12, creating a PendingIntent requires:

  1. Specifying FLAGIMMUTABLE or FLAGMUTABLE
  2. Root access
  3. A network connection
  4. A foreground service
Answer

A) Specifying FLAGIMMUTABLE or FLAGMUTABLE

Mutability flags are mandatory from API 31.

Computer Science MCQ · More Intents and Notifications MCQs · Practise