fix(GmsCore support): use prefixOrReplace for non-matching APP_AUTHORITIES in content URL transformation (#6801)

This commit is contained in:
Lucas Martinati 2026-03-15 17:47:15 +01:00 committed by GitHub
parent 5fe8b58284
commit 8f6f128d71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -252,7 +252,7 @@ fun gmsCoreSupportResourcePatch(
.joinToString(";") { authority -> .joinToString(";") { authority ->
APP_AUTHORITIES += authority APP_AUTHORITIES += authority
authority.replace(fromPackageName, toPackageName) authority.prefixOrReplace(fromPackageName, toPackageName)
} }
} }
} }