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

Pending intent template needs to be mutable #1415

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

Unpublished
Copy link
Collaborator

@Unpublished Unpublished commented Apr 15, 2024

Otherwise it cannot be updated with fill in data:

Bundle mBundle = new Bundle();
mBundle.putLong(WidgetProvider.RSS_ITEM_ID, id);
//Get a fresh new intent
Intent rowIntent = new Intent();
rowIntent.putExtras(mBundle);
//Set it on the list remote view
rv.setOnClickFillInIntent(R.id.widget_row_layout, rowIntent);

Fixes #1035
Fixes #1355

@Unpublished Unpublished marked this pull request as ready for review April 15, 2024 20:58
Signed-off-by: Unpublished <unpublished@gmx.net>
@David-Development
Copy link
Member

Great catch! Glad that you were able to identify the cause of this issue. Thank you @Unpublished!

@David-Development David-Development merged commit df368ca into master Apr 16, 2024
16 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fixWidget branch April 16, 2024 13:35
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.

Clicking on the widget jumps to a previously opened article Widget opens wrong article
2 participants