Skip to content

Commit

Permalink
Merge pull request #67 from chenxiaolong/icon
Browse files Browse the repository at this point in the history
RecorderInCallService: Fix persistent notification icon being too small
  • Loading branch information
chenxiaolong authored Jun 4, 2022
2 parents 415548f + a22b120 commit 6362451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/chiller3/bcr/RecorderInCallService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class RecorderInCallService : InCallService(), RecorderThread.OnRecordingComplet

return Notification.Builder(this, RecorderApplication.CHANNEL_ID_PERSISTENT).run {
setContentTitle(getText(R.string.notification_recording_in_progress))
setSmallIcon(R.drawable.ic_launcher_foreground)
setSmallIcon(R.drawable.ic_launcher_quick_settings)
setContentIntent(pendingIntent)
setOngoing(true)

Expand Down Expand Up @@ -172,7 +172,7 @@ class RecorderInCallService : InCallService(), RecorderThread.OnRecordingComplet
setContentText(text)
style = Notification.BigTextStyle()
}
setSmallIcon(R.drawable.ic_launcher_foreground)
setSmallIcon(R.drawable.ic_launcher_quick_settings)

build()
}
Expand Down

0 comments on commit 6362451

Please sign in to comment.