Skip to content

Commit

Permalink
Update kotlin-audio/src/main/java/com/doublesymmetry/kotlinaudio/util…
Browse files Browse the repository at this point in the history
…s/Utils.kt

Co-authored-by: David Chavez <[email protected]>
  • Loading branch information
janwiebe-jump and dcvz authored Feb 7, 2024
1 parent 661a39d commit 86ae169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ fun isUriLocalFile(uri: Uri?): Boolean {
{
return false
}
return scheme == null || scheme == ContentResolver.SCHEME_FILE || scheme == ContentResolver.SCHEME_ANDROID_RESOURCE || scheme == ContentResolver.SCHEME_CONTENT || scheme == RawResourceDataSource.RAW_RESOURCE_SCHEME || scheme == "res" || host == null || host == "localhost" || host == "127.0.0.1" || host == "[::1]"
return scheme == null || scheme == ContentResolver.SCHEME_FILE || scheme == ContentResolver.SCHEME_ANDROID_RESOURCE || scheme == ContentResolver.SCHEME_CONTENT || scheme == RawResourceDataSource.RAW_RESOURCE_SCHEME || scheme == "res" || host == null"
}

0 comments on commit 86ae169

Please sign in to comment.