added type of map to the ContentTitle in downloading notification

This commit is contained in:
Chumva 2018-02-23 16:58:56 +02:00
parent cc99ecbbc5
commit 05b48e899d

View file

@ -126,7 +126,7 @@ public class DownloadIndexesThread {
contentText.append(i.getVisibleName(app, app.getRegions()));
contentText.append(" ").append(i.getType().getString(app));
}
bld.setContentTitle(msg).setSmallIcon(android.R.drawable.stat_sys_download)
bld.setContentTitle(msg+" "+currentDownloadingItem.getType().getString(app)).setSmallIcon(android.R.drawable.stat_sys_download)
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
.setContentText(contentText.toString())
.setContentIntent(contentPendingIntent).setOngoing(true);