forked from commons-app/apps-android-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make DeleteTask notification quieter on some devices(Fixed commons-ap…
…p#2528) (commons-app#2538) As commit ab4fca5 does, this commit fixed the repeated notification alarms in DeleteTask.class. Since progress indication in notification can be cleared by calling .setProgress(0,0,false) on notificationBuilder(As shown in DeleteTask.class). This commit also refactored notification related code in UploadService.class. Make progress and failed notification uses the same notificationBuilder.
- Loading branch information
1 parent
52724b8
commit 62c14ec
Showing
2 changed files
with
19 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters