fix(YouTube Music): Resolve playback issues, change recommended app target to 7.29.52 (#5813)

This commit is contained in:
LisoUseInAIKyrios
2025-09-13 19:12:00 +04:00
committed by GitHub
parent 850c13e98e
commit a53b00dd51
23 changed files with 135 additions and 230 deletions
@@ -178,3 +178,15 @@ internal fun Element.copyAttributesFrom(oldContainer: Element) {
setAttribute(attr.name, attr.value)
}
}
/**
* @return The play store services version.
*/
internal fun ResourcePatchContext.findPlayStoreServicesVersion(): Int =
document("res/values/integers.xml").use { document ->
document.documentElement.childNodes.findElementByAttributeValueOrThrow(
"name",
"google_play_services_version",
).textContent.toInt()
}