projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Progress bar in notifications is hidden when download/upload finishes
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
files
/
services
/
FileUploader.java
diff --git
a/src/com/owncloud/android/files/services/FileUploader.java
b/src/com/owncloud/android/files/services/FileUploader.java
index
8a7ceda
..
6cef9a1
100644
(file)
--- a/
src/com/owncloud/android/files/services/FileUploader.java
+++ b/
src/com/owncloud/android/files/services/FileUploader.java
@@
-731,7
+731,10
@@
public class FileUploader extends Service implements OnDatatransferProgressListe
} else if (uploadResult.isSuccess()) {
// / success -> silent update of progress notification to success
// message
} else if (uploadResult.isSuccess()) {
// / success -> silent update of progress notification to success
// message
- mNotificationBuilder.setOngoing(false).setAutoCancel(true);
+ mNotificationBuilder
+ .setOngoing(false)
+ .setAutoCancel(true)
+ .setProgress(0, 0, false);
/// includes a pending intent in the notification showing the details view of the file
Intent showDetailsIntent = null;
/// includes a pending intent in the notification showing the details view of the file
Intent showDetailsIntent = null;