Skip to content

Commit

Permalink
Move const to top of file and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dturner committed Feb 9, 2021
1 parent e1af19b commit ad3e74f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ import java.io.File
import java.io.FileNotFoundException
import java.util.concurrent.TimeUnit

// The amount of time to wait for the album art file to download before timing out.
const val DOWNLOAD_TIMEOUT_SECONDS = 30L

class AlbumArtContentProvider : ContentProvider() {

companion object {
Expand Down Expand Up @@ -90,5 +93,3 @@ class AlbumArtContentProvider : ContentProvider() {
override fun getType(uri: Uri): String? = null

}

const val DOWNLOAD_TIMEOUT_SECONDS = 30L

0 comments on commit ad3e74f

Please sign in to comment.