Commit 78282c1a authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Removed unused entry

parent fd4214cc
......@@ -35,11 +35,6 @@ open class DownloadService : RemoteFileService() {
.getMimeTypeFromExtension(extension)
.orEmpty()
override fun map(subject: DownloadSubject, file: File): File = when (subject) {
is Module -> file // todo tbd
else -> file
}
override fun onFinished(file: File, subject: DownloadSubject) = when (subject) {
is Magisk -> onFinishedInternal(file, subject)
is Module -> onFinishedInternal(file, subject)
......
......@@ -108,7 +108,6 @@ abstract class RemoteFileService : NotificationService() {
var off = -1
var entry: ZipEntry? = zin.nextEntry
while (entry != null) {
Timber.i("Let's gooo (${entry.name})")
if (off < 0) {
off = entry.name.indexOf('/') + 1
}
......@@ -167,8 +166,6 @@ abstract class RemoteFileService : NotificationService() {
subject: DownloadSubject
): NotificationCompat.Builder
protected abstract fun map(subject: DownloadSubject, file: File): File
companion object {
const val ARG_URL = "arg_url"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment