What happens if you set the flag on PendingIntent to 0?

What exactly happens when you set the flag in the pending intent to 0? Does this not mean that you did not allow flags or not the default for one of the others?

+7
source share
1 answer

No, this is the default behavior for creating a new PendingIntent regardless of whether it already exists or not. If you want more specialized behavior, for example, discarding an existing PendingIntent, if the underlying Intent is the same, or updating an existing PendingIntent, then you should use different flags that you can find in the PendingIntent class.

+7
source

All Articles