Skip to content

Commit

Permalink
Hide logo downloads in download manager
Browse files Browse the repository at this point in the history
  • Loading branch information
schuay committed Feb 9, 2013
1 parent 566674e commit b917856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions detlef/AndroidManifest.xml
Expand Up @@ -12,6 +12,7 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"/>

<application
android:name="at.ac.tuwien.detlef.Detlef"
Expand Down
Expand Up @@ -103,6 +103,7 @@ public void enqueue(Podcast podcast) throws IOException {
request.setDescription(
String.format("Downloading podcast icon from podcast %s", podcast.getTitle()));
request.addRequestHeader("user-agent", Detlef.USER_AGENT);
request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);


long id = downloadManager.enqueue(request);
Expand Down

0 comments on commit b917856

Please sign in to comment.