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

Update gradle to 8.7 and plugin gradle to 8.5.0 #1957

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Conversation

tevincent
Copy link
Contributor

@tevincent tevincent commented Jul 11, 2024

The error was:

Error: Must be one or more of: PendingIntent.FLAG_ONE_SHOT, PendingIntent.FLAG_NO_CREATE, PendingIntent.FLAG_CANCEL_CURRENT, PendingIntent.FLAG_UPDATE_CURRENT, PendingIntent.FLAG_IMMUTABLE, PendingIntent.FLAG_MUTABLE, PendingIntent.FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT, Intent.FILL_IN_ACTION, Intent.FILL_IN_DATA, Intent.FILL_IN_CATEGORIES, Intent.FILL_IN_COMPONENT, Intent.FILL_IN_PACKAGE, Intent.FILL_IN_SOURCE_BOUNDS, Intent.FILL_IN_SELECTOR, Intent.FILL_IN_CLIP_DATA [WrongConstant]
return PendingIntent.getActivity(appContext, requestCode.hashCode(), intent, pendingIntentFlags)

But pendingFlags was a constant based on API version so Lint was throwing an error.

Copy link

sonarcloud bot commented Jul 12, 2024

@tevincent tevincent merged commit ac340da into master Jul 12, 2024
5 checks passed
@tevincent tevincent deleted the update-gradle branch July 12, 2024 06:45
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

Successfully merging this pull request may close these issues.

None yet

3 participants