Skip to content
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

java.lang.IllegalArgumentException: x.y.z: Targeting S+ (version 31 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. #367

Open
yamin8000 opened this issue Jul 26, 2023 · 0 comments

Comments

@yamin8000
Copy link

yamin8000 commented Jul 26, 2023

at android.app.PendingIntent.checkFlags(PendingIntent.java:404)
                                                                                                    	at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:674)
                                                                                                    	at android.app.PendingIntent.getBroadcast(PendingIntent.java:661)
                                                                                                    	at com.felhr.usbserial.SerialPortBuilder.createUsbPermission(SerialPortBuilder.java:155)
                                                                                                    	at com.felhr.usbserial.SerialPortBuilder.getSerialPorts(SerialPortBuilder.java:84)

related #360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant