Skip to content

fix: Prevent UnsupportedOperationException in PachliTileService #288

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

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

nikclayton
Copy link
Contributor

Previous code always called startActivityAndCollapse() with a regular intent, which triggers an UnsupportedOperationException at API 34.

Use the non-deprecated variant that uses pending intents when appropriate.

While looking at this I noticed the icon for the tile was incorrect, so replaced that with the notification icon.

Previous code always called `startActivityAndCollapse()` with a
regular intent, which triggers an `UnsupportedOperationException` at
API 34.

Use the non-deprecated variant that uses pending intents when
appropriate.

While looking at this I noticed the icon for the tile was incorrect,
so replaced that with the notification icon.
@nikclayton nikclayton merged commit f9fb0e8 into pachli:main Dec 2, 2023
@nikclayton nikclayton deleted the quicktile branch December 2, 2023 13:24
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.

1 participant