mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
Foreground service notification now uses the logo directly (vector).
This commit is contained in:
@@ -425,7 +425,7 @@ public class TrackRecordingService extends Service {
|
||||
.setContentText(getString(messageId))
|
||||
.setContentTitle(getString(R.string.app_name))
|
||||
.setOngoing(true)
|
||||
.setSmallIcon(R.drawable.ic_stat_notify_recording)
|
||||
.setSmallIcon(R.drawable.ic_logo)
|
||||
.setCategory(Notification.CATEGORY_SERVICE)
|
||||
.setWhen(System.currentTimeMillis());
|
||||
startForeground(1, builder.build());
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB |
Reference in New Issue
Block a user