aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/services
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-11-13 05:09:24 -0500
committerGitHub <noreply@github.com>2017-11-13 05:09:24 -0500
commit63d8779ad4fab7d2eb762be34eeca04c7debc6f3 (patch)
tree334f3c0c4c6a717d7c0b0872574cb65b3b50166c /app/src/main/kotlin/com/pitchedapps/frost/services
parent4aed05a8923a7f76799bbaa254f407f7e11fef0b (diff)
downloadfrost-63d8779ad4fab7d2eb762be34eeca04c7debc6f3.tar.gz
frost-63d8779ad4fab7d2eb762be34eeca04c7debc6f3.tar.bz2
frost-63d8779ad4fab7d2eb762be34eeca04c7debc6f3.zip
Enhancement/video (#484)v1.6.4
* Fix more parsing issues * Try catch decoder resolves #456 * Fix unit test and add null check for images, resolves #458 * Remove downloadservice, resolves #459 * Clean up progress animator * Check for download manager before download attempt * Update strings
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/services')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/services/DownloadService.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/services/DownloadService.kt b/app/src/main/kotlin/com/pitchedapps/frost/services/DownloadService.kt
index fda5ebf5..520d750f 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/services/DownloadService.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/services/DownloadService.kt
@@ -1,5 +1,6 @@
package com.pitchedapps.frost.services
+import android.annotation.SuppressLint
import android.app.IntentService
import android.app.Notification
import android.app.PendingIntent
@@ -26,11 +27,14 @@ import java.io.File
/**
* Created by Allan Wang on 2017-08-08.
*
+ * Not in use
+ *
* Background file downloader
* All we are given is a link and a mime type
*
* With reference to the <a href="https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/Progress.java">OkHttp3 sample</a>
*/
+@SuppressLint("Registered")
class DownloadService : IntentService("FrostVideoDownloader") {
companion object {