Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- Fixed missing phone number in call history details ([#526])
- Renamed notification channels ([#196])

## [1.6.1] - 2025-07-31
### Changed
Expand Down Expand Up @@ -155,6 +156,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#181]: https://github.com/FossifyOrg/Phone/issues/181
[#183]: https://github.com/FossifyOrg/Phone/issues/183
[#186]: https://github.com/FossifyOrg/Phone/issues/186
[#196]: https://github.com/FossifyOrg/Phone/issues/196
[#237]: https://github.com/FossifyOrg/Phone/issues/237
[#293]: https://github.com/FossifyOrg/Phone/issues/293
[#307]: https://github.com/FossifyOrg/Phone/issues/307
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ class CallNotificationManager(private val context: Context) {
val channelId = if (isHighPriority) "simple_dialer_call_high_priority" else "simple_dialer_call"
if (isOreoPlus()) {
val importance = if (isHighPriority) NotificationManager.IMPORTANCE_HIGH else NotificationManager.IMPORTANCE_DEFAULT
val name = if (isHighPriority) "call_notification_channel_high_priority" else "call_notification_channel"
val name = if (isHighPriority) {
context.getString(R.string.call_notification_channel_high_priority)
} else {
context.getString(R.string.call_notification_channel)
}

NotificationChannel(channelId, name, importance).apply {
setSound(null, null)
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<string name="choose_audio_route">Choose audio route</string>
<string name="calling_blocked_number">The number you are calling is blocked</string>
<string name="call_is_being_connected">Your call is being connected…</string>
<string name="call_notification_channel">Call status</string>
<string name="call_notification_channel_high_priority">Call status (high priority)</string>

<!-- Speed dial -->
<string name="speed_dial">Speed dial</string>
Expand Down
Loading