Skip to content

fix: dont hardcode pending intent requestCode.#63

Merged
ardevd merged 1 commit into
mainfrom
notification-stop-fix
Jul 3, 2026
Merged

fix: dont hardcode pending intent requestCode.#63
ardevd merged 1 commit into
mainfrom
notification-stop-fix

Conversation

@ardevd

@ardevd ardevd commented Jul 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

@ardevd ardevd self-assigned this Jul 3, 2026
Copilot AI review requested due to automatic review settings July 3, 2026 20:14
@ardevd ardevd added the fix Fixes an issue label Jul 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the timer “Stop” notification action to avoid using a hardcoded PendingIntent requestCode, making the generated PendingIntent more specific to the running timer instance.

Changes:

  • Replace the constant broadcast PendingIntent requestCode (1) with a per-timer value derived from key.hashCode().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ardevd ardevd merged commit e94c037 into main Jul 3, 2026
3 checks passed
@ardevd ardevd deleted the notification-stop-fix branch July 3, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants