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
Add FLAG_IMMUTABLE for Android 12 #2079
Comments
Hello everyone. We also had the same issue. Please fix it. |
@pyricau Any update on it? |
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
…rash when targeting Android 12
Fixed by #2090 |
@pyricau Thank you for merging my PR. It would be great to have a 2.7-alpha version for testing. Is it possible? |
There should be a new snapshot version published as soon as a change is merged: https://square.github.io/leakcanary/faq/#how-do-i-use-the-snapshot-version Let me know if the crashes are gone or if anything else remains, thx! |
@pyricau I'm getting a similar crash related to
Since this comes through val flags = if (Build.VERSION.SDK_INT >= 30) {
PendingIntent.FLAG_IMMUTABLE
} |
@fm-norton thx! Can you open a PR? |
Also ran into this issue. Opened #2124 with (I think) a better fix. |
Reported here: #2074 (comment)
leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/activity/LeakActivity.kt
Lines 174 to 182 in 438aa49
Fix:
The text was updated successfully, but these errors were encountered: