removed logging
This commit is contained in:
parent
b6c01333b0
commit
62b540b95c
|
@ -5,7 +5,6 @@ import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
import android.util.Log
|
|
||||||
import androidx.core.content.FileProvider
|
import androidx.core.content.FileProvider
|
||||||
import androidx.lifecycle.MutableLiveData
|
import androidx.lifecycle.MutableLiveData
|
||||||
import com.vanced.manager.R
|
import com.vanced.manager.R
|
||||||
|
@ -97,7 +96,6 @@ object DownloadHelper : CoroutineScope by CoroutineScope(Dispatchers.IO) {
|
||||||
outputStream.write(fileReader, 0, read)
|
outputStream.write(fileReader, 0, read)
|
||||||
downloadedBytes += read.toLong()
|
downloadedBytes += read.toLong()
|
||||||
downloadProgress.value?.downloadProgress?.postValue((downloadedBytes * 100 / totalBytes).toInt())
|
downloadProgress.value?.downloadProgress?.postValue((downloadedBytes * 100 / totalBytes).toInt())
|
||||||
Log.d("test", (downloadedBytes * 100 / totalBytes).toString())
|
|
||||||
}
|
}
|
||||||
outputStream.flush()
|
outputStream.flush()
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in New Issue