location-samples icon indicating copy to clipboard operation
location-samples copied to clipboard

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

Open this-Aditya opened this issue 2 years ago • 0 comments

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 avatar Jun 01 '23 07:06 this-Aditya