Progress bar in notifications is hidden when download/upload finishes
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileDownloader.java
index 23b29c2..80d5528 100644 (file)
@@ -465,7 +465,8 @@ public class FileDownloader extends Service implements OnDatatransferProgressLis
                 .setTicker(getString(tickerId))
                 .setContentTitle(getString(tickerId))
                 .setAutoCancel(true)
-                .setOngoing(false);
+                .setOngoing(false)
+                .setProgress(0, 0, false);
             boolean needsToUpdateCredentials = (downloadResult.getCode() == ResultCode.UNAUTHORIZED ||
                                                 // (downloadResult.isTemporalRedirection() && downloadResult.isIdPRedirection()
                                                   (downloadResult.isIdPRedirection()