summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/java
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-05-11 13:02:46 +0300
committerAndrew Dolgov <[email protected]>2015-05-11 13:02:46 +0300
commit8484fa22e6666d87a0180e94b3182e4ff603118f (patch)
tree6e1b6ae8b4010ad34dd46c60c27e3e45da715851 /org.fox.ttrss/src/main/java
parent6e4ab9913473f504ed179b2519a27a81b75ba4a3 (diff)
use proper height resource for support actionbar spacer
Diffstat (limited to 'org.fox.ttrss/src/main/java')
-rw-r--r--org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineDownloadService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineDownloadService.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineDownloadService.java
index e90899e8..bf641ad0 100644
--- a/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineDownloadService.java
+++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/offline/OfflineDownloadService.java
@@ -108,11 +108,11 @@ public class OfflineDownloadService extends Service {
.setLargeIcon(BitmapFactory.decodeResource(getApplicationContext().getResources(),
R.drawable.ic_launcher))
.setOngoing(true)
- .setOnlyAlertOnce(true)
- .setVibrate(new long[0]);
+ .setOnlyAlertOnce(true);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
builder.setCategory(Notification.CATEGORY_PROGRESS)
+ .setVibrate(new long[0])
.setVisibility(Notification.VISIBILITY_PUBLIC)
.setColor(0x88b0f0)
.setGroup("org.fox.ttrss");