Skip to content

setRequestPromotedOngoingは使えない#5395

Merged
TinyKitten merged 1 commit intodevfrom
fix/android-build-fail
Feb 21, 2026
Merged

setRequestPromotedOngoingは使えない#5395
TinyKitten merged 1 commit intodevfrom
fix/android-build-fail

Conversation

@TinyKitten
Copy link
Member

@TinyKitten TinyKitten commented Feb 21, 2026

#5392 起因でAndroid版がビルドできなかった

Summary by CodeRabbit

リリースノート

  • Refactor
    • 通知の内部実装を改善しました。

このリリースではユーザーに直接影響する変更はありません。

@TinyKitten TinyKitten self-assigned this Feb 21, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 21, 2026

📝 Walkthrough

Walkthrough

通知の「昇格済み継続中」フラグの設定方法が変更されました。専用のビルダーメソッド setRequestPromotedOngoing(true) から、extrasバンドルに EXTRA_REQUEST_PROMOTED_ONGOING フラグを追加する汎用的なアプローチに移行しています。

Changes

Cohort / File(s) Summary
Notification Configuration
android/app/src/main/java/me/tinykitten/trainlcd/LiveUpdateModule.kt
「昇格済み継続中」フラグの設定方法をビルダーメソッドからextrasバンドルへ移行。

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Possibly related PRs

Suggested labels

android

Poem

🐰 フラグよ、新しいお家へ 
extrasバンドルの中で輝く 
シンプルなお引っ越し 
通知はますます優雅に 
小さな変更、大きな整頓 ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed タイトル「setRequestPromotedOngoingは使えない」は、プルリクエストの主な変更内容を直接かつ明確に説明しており、コードの変更(古いメソッド呼び出しを新しいextrasバンドルのアプローチに置き換え)に完全に関連しています。
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/android-build-fail

Comment @coderabbitai help to get the list of available commands and usage tips.

@TinyKitten TinyKitten merged commit 29c1cc7 into dev Feb 21, 2026
5 checks passed
@TinyKitten TinyKitten deleted the fix/android-build-fail branch February 21, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant