Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@shine5402
Copy link
Contributor

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
As app seems don't need to send data back in Notification Area, these required flag field are now all FLAG_IMMUTABLE.
Also dump up dependencies version as some of them violates this requirement too (Ehh..)

感想就是,谷歌,你为什么

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
As app seems don't need to send data back in Notification Area, these required flag field are now all FLAG_IMMUTABLE.
Also dump up depencies version as some of them violates this requirement too (Ehh..)
@HMBSbige HMBSbige added the Bug Issues marked with this label indicate unintended program behaviour that needs correction. label Dec 7, 2021
@HMBSbige HMBSbige merged commit 451f160 into HMBSbige:master Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Bug Issues marked with this label indicate unintended program behaviour that needs correction.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants