Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

PendingIntent.FLAG_CANCEL_CURRENT is not giving proper output on API version 31 or higher in Google Sleep API. #335

Open
this-Aditya opened this issue Jun 1, 2023 · 0 comments

Comments

@this-Aditya
Copy link

As per new guidelines:
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
This needs to be updated in the sleep receiver of Google Sleep API to receive proper output in newer android devices.

@this-Aditya this-Aditya changed the title PendingIntent.FLAG_CANCEL_CURRENT is not giving proper output on API version 31 or higher. PendingIntent.FLAG_CANCEL_CURRENT is not giving proper output on API version 31 or higher in Google Sleep API. Jun 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant