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

Create PendingIntents using TaskStackBuilder #1291

Open
rfc2822 opened this issue Feb 2, 2025 · 1 comment · May be fixed by #1293
Open

Create PendingIntents using TaskStackBuilder #1291

rfc2822 opened this issue Feb 2, 2025 · 1 comment · May be fixed by #1293
Assignees
Labels
refactoring Internal improvement of existing functions

Comments

@rfc2822
Copy link
Member

rfc2822 commented Feb 2, 2025

We're currently creating PendingIntents using PendingIntent.getActivity(…).

However the current state-of-the-art seems to be TaskStackBuilder, also for Compose deep links.

This automatically also solves "Use of implicit PendingIntents" CodeQL alerts like this one.

(Please have second look @ArnyminerZ whether it really should be done like that)

@rfc2822 rfc2822 added the refactoring Internal improvement of existing functions label Feb 2, 2025
@ArnyminerZ
Copy link
Member

Mmmmh looks like it. We should use this method. A bit too long for me, and the syntax is a bit ugly, but I guess it is what it is. I'll open a PR now.

@ArnyminerZ ArnyminerZ linked a pull request Feb 3, 2025 that will close this issue
4 tasks
@sunkup sunkup moved this from Todo to In Review in DAVx⁵ Releases Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

2 participants