Notification icon

This commit is contained in:
jannis 2019-08-22 16:17:22 +02:00
parent 31524fc92f
commit 9a228fb2da
2 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ public class LocationListener extends Service {
Notification.Builder builder = new Notification.Builder(this)
.setContentTitle(getText(R.string.trackerRunning))
.setContentText(getText(R.string.trackerRunningMessage));
//.setSmallIcon(R.drawable.icon)
.setContentText(getText(R.string.trackerRunningMessage))
.setSmallIcon(R.drawable.notification);
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
NotificationHelper.createChannels(this);
builder.setChannelId(NotificationHelper.CHANNEL_WORKOUT);

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB