New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 12(S) からは PendingIntentを作る際に FLAG_IMMUTABLE or FLAG_MUTABLE の指定が必要になる #151
Comments
|
SubwayTooter の場合
よって PendingIntent を作成している部分全てにFLAG_IMMUTABLEを追加するだけで良さそう |
一通り追加してるぽい。一旦クローズ |
Android Sの制限がもう一つあった。
android.app.PendingIntent.getActivity(PendingIntent.java:401)
java.lang.IllegalArgumentException:
{pkgName}: Targeting S+ (version 10000 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
The text was updated successfully, but these errors were encountered: