Add notification to download
This commit is contained in:
parent
e54bf89a86
commit
bccbc2bd8b
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ public class DownloadIndexesThread {
|
||||||
contentText.append(i.getVisibleName(app, app.getRegions()));
|
contentText.append(i.getVisibleName(app, app.getRegions()));
|
||||||
}
|
}
|
||||||
bld.setContentTitle(msg).setSmallIcon(R.drawable.ic_action_import).
|
bld.setContentTitle(msg).setSmallIcon(R.drawable.ic_action_import).
|
||||||
|
setContentText(contentText.toString()).
|
||||||
setContentIntent(contentPendingIntent).setOngoing(true);
|
setContentIntent(contentPendingIntent).setOngoing(true);
|
||||||
int progress = getCurrentDownloadingItemProgress();
|
int progress = getCurrentDownloadingItemProgress();
|
||||||
bld.setProgress(100, Math.max(progress, 0), progress < 0);
|
bld.setProgress(100, Math.max(progress, 0), progress < 0);
|
||||||
|
|
Loading…
Reference in a new issue