Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add unit tests for notification scheduling and worker logic #204

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

Conversation

@MihaiCristianCondrea
Copy link
Owner

@MihaiCristianCondrea MihaiCristianCondrea commented Sep 15, 2025

Summary

  • add coverage around AppUsageNotificationsManager scheduling with AlarmManager
  • verify AppUsageNotificationReceiver enqueues the usage worker through WorkManager
  • validate AppUsageNotificationWorker notifies users only when the inactivity threshold is exceeded

Testing

  • ./gradlew test (fails: SDK location not found in CI environment)

https://chatgpt.com/codex/tasks/task_e_68c8915a2814832d8f01414c0b612eaa

chatgpt-codex-connector[bot] reacted with thumbs up emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /