diff --git a/pillarbox-core-business/src/main/java/ch/srgssr/pillarbox/core/business/integrationlayer/service/IlUrl.kt b/pillarbox-core-business/src/main/java/ch/srgssr/pillarbox/core/business/integrationlayer/service/IlUrl.kt index ff9e15e1b..247ed3563 100644 --- a/pillarbox-core-business/src/main/java/ch/srgssr/pillarbox/core/business/integrationlayer/service/IlUrl.kt +++ b/pillarbox-core-business/src/main/java/ch/srgssr/pillarbox/core/business/integrationlayer/service/IlUrl.kt @@ -56,7 +56,7 @@ data class IlUrl( * * @return An [IlUrl] or throws an [IllegalArgumentException] if the [Uri] can't be parsed. */ - fun Uri.toIlUrl(): IlUrl { + internal fun Uri.toIlUrl(): IlUrl { val urn = lastPathSegment require(urn.isValidMediaUrn()) { "Invalid URN $urn found in $this" } val host = IlHost.parse(toString())