feat(YouTube Music): Add support for 8.44.54
This commit is contained in:
parent
81b24642be
commit
636698c96e
22 changed files with 32 additions and 11 deletions
|
|
@ -29,6 +29,7 @@ val hideMusicVideoAdsPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ val enableExclusiveAudioPlaybackPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ val permanentRepeatPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@ val customBrandingPatch = baseCustomBrandingPatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@ val changeHeaderPatch = changeHeaderPatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
resourcesAppId = "music",
|
resourcesAppId = "music",
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@ val hideButtonsPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ val hideCategoryBarPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ val hideLayoutComponentsPatch = hideLayoutComponentsPatch(
|
||||||
"7.29.52",
|
"7.29.52",
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54"
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ val changeMiniplayerColorPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ val navigationBarPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ val hideGetMusicPremiumPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ val changeStartPagePatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@ import app.revanced.patches.shared.layout.theme.baseThemeResourcePatch
|
||||||
import app.revanced.patches.shared.layout.theme.darkThemeBackgroundColorOption
|
import app.revanced.patches.shared.layout.theme.darkThemeBackgroundColorOption
|
||||||
import app.revanced.patches.shared.misc.settings.overrideThemeColors
|
import app.revanced.patches.shared.misc.settings.overrideThemeColors
|
||||||
|
|
||||||
private const val EXTENSION_CLASS_DESCRIPTOR = "Lapp/revanced/extension/music/patches/theme/ThemePatch;"
|
private const val EXTENSION_CLASS_DESCRIPTOR =
|
||||||
|
"Lapp/revanced/extension/music/patches/theme/ThemePatch;"
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val themePatch = baseThemePatch(
|
val themePatch = baseThemePatch(
|
||||||
|
|
@ -33,7 +34,8 @@ val themePatch = baseThemePatch(
|
||||||
"7.29.52",
|
"7.29.52",
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54"
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,7 @@ import app.revanced.patcher.returnType
|
||||||
import app.revanced.patcher.strings
|
import app.revanced.patcher.strings
|
||||||
import com.android.tools.smali.dexlib2.iface.ClassDef
|
import com.android.tools.smali.dexlib2.iface.ClassDef
|
||||||
|
|
||||||
internal val BytecodePatchContext.checkCertificateMethod by gettingFirstMethodDeclaratively(
|
internal val BytecodePatchContext.checkCertificateMethod by gettingFirstMethodDeclaratively {
|
||||||
"X509",
|
|
||||||
) {
|
|
||||||
returnType("Z")
|
returnType("Z")
|
||||||
parameterTypes("L")
|
parameterTypes("L")
|
||||||
strings("X509", "isPartnerSHAFingerprint")
|
strings("X509", "isPartnerSHAFingerprint")
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ val unlockAndroidAutoMediaBrowserPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@ val forceOriginalAudioPatch = forceOriginalAudioPatch(
|
||||||
"7.29.52",
|
"7.29.52",
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54"
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ val removeBackgroundPlaybackRestrictionsPatch = bytecodePatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ val enableDebuggingPatch = enableDebuggingPatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ val checkWatchHistoryDomainNameResolutionPatch = checkWatchHistoryDomainNameReso
|
||||||
"7.29.52",
|
"7.29.52",
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54"
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import app.revanced.patches.music.misc.gms.Constants.MUSIC_PACKAGE_NAME
|
||||||
import app.revanced.patches.music.misc.gms.Constants.REVANCED_MUSIC_PACKAGE_NAME
|
import app.revanced.patches.music.misc.gms.Constants.REVANCED_MUSIC_PACKAGE_NAME
|
||||||
import app.revanced.patches.music.misc.settings.PreferenceScreen
|
import app.revanced.patches.music.misc.settings.PreferenceScreen
|
||||||
import app.revanced.patches.music.misc.settings.settingsPatch
|
import app.revanced.patches.music.misc.settings.settingsPatch
|
||||||
|
import app.revanced.patches.music.shared.mainActivityOnCreateMethod
|
||||||
import app.revanced.patches.shared.castContextFetchMethod
|
import app.revanced.patches.shared.castContextFetchMethod
|
||||||
import app.revanced.patches.shared.misc.gms.gmsCoreSupportPatch
|
import app.revanced.patches.shared.misc.gms.gmsCoreSupportPatch
|
||||||
import app.revanced.patches.shared.misc.settings.preference.IntentPreference
|
import app.revanced.patches.shared.misc.settings.preference.IntentPreference
|
||||||
|
|
@ -23,7 +24,7 @@ val gmsCoreSupportPatch = gmsCoreSupportPatch(
|
||||||
toPackageName = REVANCED_MUSIC_PACKAGE_NAME,
|
toPackageName = REVANCED_MUSIC_PACKAGE_NAME,
|
||||||
getPrimeMethod = { primeMethod },
|
getPrimeMethod = { primeMethod },
|
||||||
getEarlyReturnMethods = setOf(BytecodePatchContext::castContextFetchMethod::get),
|
getEarlyReturnMethods = setOf(BytecodePatchContext::castContextFetchMethod::get),
|
||||||
getMainActivityOnCreateMethodToGetInsertIndex = BytecodePatchContext::musicActivityOnCreateMethod::get to { 0 },
|
getMainActivityOnCreateMethodToGetInsertIndex = BytecodePatchContext::mainActivityOnCreateMethod::get to { 0 },
|
||||||
extensionPatch = sharedExtensionPatch,
|
extensionPatch = sharedExtensionPatch,
|
||||||
gmsCoreSupportResourcePatchFactory = ::gmsCoreSupportResourcePatch,
|
gmsCoreSupportResourcePatchFactory = ::gmsCoreSupportResourcePatch,
|
||||||
) {
|
) {
|
||||||
|
|
@ -34,6 +35,7 @@ val gmsCoreSupportPatch = gmsCoreSupportPatch(
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54",
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,8 @@ val sanitizeSharingLinksPatch = sanitizeSharingLinksPatch(
|
||||||
"7.29.52",
|
"7.29.52",
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54"
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,8 @@ val spoofVideoStreamsPatch = spoofVideoStreamsPatch(
|
||||||
"7.29.52",
|
"7.29.52",
|
||||||
"8.10.52",
|
"8.10.52",
|
||||||
"8.37.56",
|
"8.37.56",
|
||||||
"8.40.54"
|
"8.40.54",
|
||||||
|
"8.44.54"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue