mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-23 09:24:09 +01:00
Compare commits
5 Commits
v2.191.0-d
...
v2.191.0-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe3a6fd4a4 | ||
|
|
2a340d21d7 | ||
|
|
ce6a9fc1ec | ||
|
|
632b50e1fe | ||
|
|
2957d3791a |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
|||||||
|
# [2.191.0-dev.5](https://github.com/ReVanced/revanced-patches/compare/v2.191.0-dev.4...v2.191.0-dev.5) (2023-09-19)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **YouTube:** Restore functionality of `Old video quality menu` and `Custom speeds` on tablets ([#2999](https://github.com/ReVanced/revanced-patches/issues/2999)) ([238bed1](https://github.com/ReVanced/revanced-patches/commit/238bed12519ec61a53b1ee72da467830ef252154))
|
||||||
|
|
||||||
|
# [2.191.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v2.191.0-dev.3...v2.191.0-dev.4) (2023-09-14)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **Twitch - Block embedded ads:** Switch from `ttv.lol` to `luminous.dev` ([0fe115e](https://github.com/ReVanced/revanced-patches/commit/0fe115e8f98ccdc86d318090fc92fe77cece1dd8))
|
||||||
|
|
||||||
# [2.191.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v2.191.0-dev.2...v2.191.0-dev.3) (2023-09-14)
|
# [2.191.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v2.191.0-dev.2...v2.191.0-dev.3) (2023-09-14)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<a href="https://twitter.com/revancedapp">
|
<a href="https://twitter.com/revancedapp">
|
||||||
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032018-6da37214-7474-4641-a1da-7af7db3a31cd.png" />
|
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032018-6da37214-7474-4641-a1da-7af7db3a31cd.png" />
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.youtube.com/channel/UCLktAUh5Gza9zAJBStwxNdw">
|
<a href="https://www.youtube.com/@ReVanced">
|
||||||
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032714-c51c7492-0666-44ac-99c2-f003a695ab50.png" />
|
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032714-c51c7492-0666-44ac-99c2-f003a695ab50.png" />
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<a href="https://twitter.com/revancedapp">
|
<a href="https://twitter.com/revancedapp">
|
||||||
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032018-6da37214-7474-4641-a1da-7af7db3a31cd.png" />
|
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032018-6da37214-7474-4641-a1da-7af7db3a31cd.png" />
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.youtube.com/channel/UCLktAUh5Gza9zAJBStwxNdw">
|
<a href="https://www.youtube.com/@ReVanced">
|
||||||
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032714-c51c7492-0666-44ac-99c2-f003a695ab50.png" />
|
<img height="24px" src="https://user-images.githubusercontent.com/13122796/178032714-c51c7492-0666-44ac-99c2-f003a695ab50.png" />
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
org.gradle.caching = true
|
org.gradle.caching = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 2.191.0-dev.3
|
version = 2.191.0-dev.5
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -3,8 +3,8 @@ package app.revanced.patches.twitch.ad.embedded.patch
|
|||||||
import app.revanced.patcher.annotation.Description
|
import app.revanced.patcher.annotation.Description
|
||||||
import app.revanced.patcher.annotation.Name
|
import app.revanced.patcher.annotation.Name
|
||||||
import app.revanced.patcher.data.BytecodeContext
|
import app.revanced.patcher.data.BytecodeContext
|
||||||
import app.revanced.patcher.extensions.MethodFingerprintExtensions.name
|
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
||||||
|
import app.revanced.patcher.extensions.MethodFingerprintExtensions.name
|
||||||
import app.revanced.patcher.patch.BytecodePatch
|
import app.revanced.patcher.patch.BytecodePatch
|
||||||
import app.revanced.patcher.patch.PatchException
|
import app.revanced.patcher.patch.PatchException
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
@@ -21,7 +21,7 @@ import app.revanced.patches.twitch.misc.settings.bytecode.patch.SettingsPatch
|
|||||||
@Patch
|
@Patch
|
||||||
@DependsOn([VideoAdsPatch::class, IntegrationsPatch::class, SettingsPatch::class])
|
@DependsOn([VideoAdsPatch::class, IntegrationsPatch::class, SettingsPatch::class])
|
||||||
@Name("Block embedded ads")
|
@Name("Block embedded ads")
|
||||||
@Description("Blocks embedded stream ads using services like TTV.lol or PurpleAdBlocker.")
|
@Description("Blocks embedded stream ads using services like Luminous or PurpleAdBlocker.")
|
||||||
@EmbeddedAdsCompatibility
|
@EmbeddedAdsCompatibility
|
||||||
class EmbeddedAdsPatch : BytecodePatch(
|
class EmbeddedAdsPatch : BytecodePatch(
|
||||||
listOf(CreateUsherClientFingerprint)
|
listOf(CreateUsherClientFingerprint)
|
||||||
@@ -50,7 +50,7 @@ class EmbeddedAdsPatch : BytecodePatch(
|
|||||||
"revanced_hls_proxies",
|
"revanced_hls_proxies",
|
||||||
listOf(
|
listOf(
|
||||||
StringResource("revanced_proxy_disabled", "Disabled"),
|
StringResource("revanced_proxy_disabled", "Disabled"),
|
||||||
StringResource("revanced_proxy_ttv_lol", "TTV LOL proxy"),
|
StringResource("revanced_proxy_luminous", "Luminous proxy"),
|
||||||
StringResource("revanced_proxy_purpleadblock", "PurpleAdBlock proxy"),
|
StringResource("revanced_proxy_purpleadblock", "PurpleAdBlock proxy"),
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
@@ -58,11 +58,11 @@ class EmbeddedAdsPatch : BytecodePatch(
|
|||||||
"revanced_hls_proxies_values",
|
"revanced_hls_proxies_values",
|
||||||
listOf(
|
listOf(
|
||||||
StringResource("key_revanced_proxy_disabled", "disabled"),
|
StringResource("key_revanced_proxy_disabled", "disabled"),
|
||||||
StringResource("key_revanced_proxy_ttv_lol", "ttv-lol"),
|
StringResource("key_revanced_proxy_luminous", "luminous"),
|
||||||
StringResource("key_revanced_proxy_purpleadblock", "purpleadblock")
|
StringResource("key_revanced_proxy_purpleadblock", "purpleadblock")
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
default = "ttv-lol"
|
default = "luminous"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
package app.revanced.patches.youtube.misc.bottomsheet.hook.fingerprints
|
|
||||||
|
|
||||||
import app.revanced.patcher.extensions.or
|
|
||||||
import app.revanced.patches.youtube.misc.bottomsheet.hook.patch.BottomSheetHookResourcePatch
|
|
||||||
import app.revanced.util.patch.LiteralValueFingerprint
|
|
||||||
import com.android.tools.smali.dexlib2.AccessFlags
|
|
||||||
|
|
||||||
object CreateBottomSheetFingerprint : LiteralValueFingerprint(
|
|
||||||
accessFlags = AccessFlags.PUBLIC or AccessFlags.FINAL,
|
|
||||||
parameters = listOf("L"),
|
|
||||||
returnType = "Landroid/widget/LinearLayout;",
|
|
||||||
literal = BottomSheetHookResourcePatch.bottomSheetMargins
|
|
||||||
)
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
package app.revanced.patches.youtube.misc.bottomsheet.hook.patch
|
|
||||||
|
|
||||||
import app.revanced.extensions.exception
|
|
||||||
import app.revanced.patcher.data.BytecodeContext
|
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstruction
|
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.getInstruction
|
|
||||||
import app.revanced.patcher.patch.BytecodePatch
|
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
|
||||||
import app.revanced.patches.youtube.misc.bottomsheet.hook.fingerprints.CreateBottomSheetFingerprint
|
|
||||||
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
|
||||||
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
|
||||||
|
|
||||||
@DependsOn([IntegrationsPatch::class, BottomSheetHookResourcePatch::class])
|
|
||||||
class BottomSheetHookPatch : BytecodePatch(
|
|
||||||
listOf(CreateBottomSheetFingerprint)
|
|
||||||
) {
|
|
||||||
override fun execute(context: BytecodeContext) {
|
|
||||||
CreateBottomSheetFingerprint.result?.let {
|
|
||||||
it.mutableMethod.apply {
|
|
||||||
val returnLinearLayoutIndex = implementation!!.instructions.lastIndex
|
|
||||||
val linearLayoutRegister = getInstruction<OneRegisterInstruction>(returnLinearLayoutIndex).registerA
|
|
||||||
|
|
||||||
addHook = { classDescriptor ->
|
|
||||||
addInstruction(
|
|
||||||
returnLinearLayoutIndex,
|
|
||||||
"invoke-static { v$linearLayoutRegister }, " +
|
|
||||||
"${classDescriptor}->" +
|
|
||||||
"onFlyoutMenuCreate(Landroid/widget/LinearLayout;)V"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} ?: throw CreateBottomSheetFingerprint.exception
|
|
||||||
}
|
|
||||||
|
|
||||||
internal companion object {
|
|
||||||
internal lateinit var addHook: (String) -> Unit
|
|
||||||
private set
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
package app.revanced.patches.youtube.misc.bottomsheet.hook.patch
|
|
||||||
|
|
||||||
import app.revanced.patcher.data.ResourceContext
|
|
||||||
import app.revanced.patcher.patch.PatchException
|
|
||||||
import app.revanced.patcher.patch.ResourcePatch
|
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
|
||||||
import app.revanced.patches.shared.mapping.misc.patch.ResourceMappingPatch
|
|
||||||
|
|
||||||
@DependsOn([ResourceMappingPatch::class])
|
|
||||||
class BottomSheetHookResourcePatch : ResourcePatch {
|
|
||||||
override fun execute(context: ResourceContext) {
|
|
||||||
bottomSheetMargins = ResourceMappingPatch.resourceMappings.find { it.name == "bottom_sheet_margins" }?.id
|
|
||||||
?: throw PatchException("Could not find resource")
|
|
||||||
}
|
|
||||||
|
|
||||||
internal companion object {
|
|
||||||
var bottomSheetMargins = -1L
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package app.revanced.patches.youtube.misc.recyclerviewtree.hook.fingerprints
|
||||||
|
|
||||||
|
import app.revanced.patcher.extensions.or
|
||||||
|
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
|
||||||
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||||||
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
|
|
||||||
|
object RecyclerViewTreeObserverFingerprint : MethodFingerprint(
|
||||||
|
returnType = "V",
|
||||||
|
accessFlags = AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR,
|
||||||
|
opcodes = listOf(
|
||||||
|
Opcode.NEW_INSTANCE,
|
||||||
|
Opcode.INVOKE_DIRECT,
|
||||||
|
Opcode.IPUT_OBJECT,
|
||||||
|
Opcode.IGET_BOOLEAN,
|
||||||
|
Opcode.IF_NEZ,
|
||||||
|
Opcode.INVOKE_VIRTUAL_RANGE,
|
||||||
|
Opcode.MOVE_RESULT_OBJECT
|
||||||
|
),
|
||||||
|
strings = listOf("LithoRVSLCBinder")
|
||||||
|
)
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
package app.revanced.patches.youtube.misc.recyclerviewtree.hook.patch
|
||||||
|
|
||||||
|
import app.revanced.extensions.exception
|
||||||
|
import app.revanced.patcher.data.BytecodeContext
|
||||||
|
import app.revanced.patcher.extensions.InstructionExtensions.addInstruction
|
||||||
|
import app.revanced.patcher.patch.BytecodePatch
|
||||||
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
|
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||||
|
import app.revanced.patches.youtube.misc.recyclerviewtree.hook.fingerprints.RecyclerViewTreeObserverFingerprint
|
||||||
|
|
||||||
|
@DependsOn([IntegrationsPatch::class])
|
||||||
|
class RecyclerViewTreeHookPatch : BytecodePatch(
|
||||||
|
listOf(RecyclerViewTreeObserverFingerprint)
|
||||||
|
) {
|
||||||
|
override fun execute(context: BytecodeContext) {
|
||||||
|
|
||||||
|
RecyclerViewTreeObserverFingerprint.result?.let {
|
||||||
|
it.mutableMethod.apply {
|
||||||
|
val insertIndex = it.scanResult.patternScanResult!!.startIndex + 5
|
||||||
|
val recyclerViewParameter = 2
|
||||||
|
|
||||||
|
addHook = { classDescriptor ->
|
||||||
|
addInstruction(
|
||||||
|
insertIndex,
|
||||||
|
"invoke-static/range { p$recyclerViewParameter .. p$recyclerViewParameter }, $classDescriptor->onFlyoutMenuCreate(Landroid/support/v7/widget/RecyclerView;)V"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} ?: throw RecyclerViewTreeObserverFingerprint.exception
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
internal companion object {
|
||||||
|
internal lateinit var addHook: (String) -> Unit
|
||||||
|
private set
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -17,7 +17,7 @@ import app.revanced.patcher.util.proxy.mutableTypes.MutableField.Companion.toMut
|
|||||||
import app.revanced.patches.shared.settings.preference.impl.InputType
|
import app.revanced.patches.shared.settings.preference.impl.InputType
|
||||||
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
||||||
import app.revanced.patches.shared.settings.preference.impl.TextPreference
|
import app.revanced.patches.shared.settings.preference.impl.TextPreference
|
||||||
import app.revanced.patches.youtube.misc.bottomsheet.hook.patch.BottomSheetHookPatch
|
import app.revanced.patches.youtube.misc.recyclerviewtree.hook.patch.RecyclerViewTreeHookPatch
|
||||||
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||||
import app.revanced.patches.youtube.misc.litho.filter.patch.LithoFilterPatch
|
import app.revanced.patches.youtube.misc.litho.filter.patch.LithoFilterPatch
|
||||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||||
@@ -32,7 +32,7 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableField
|
|||||||
|
|
||||||
@Name("Custom playback speed")
|
@Name("Custom playback speed")
|
||||||
@Description("Adds custom playback speed options.")
|
@Description("Adds custom playback speed options.")
|
||||||
@DependsOn([IntegrationsPatch::class, LithoFilterPatch::class, SettingsPatch::class, BottomSheetHookPatch::class])
|
@DependsOn([IntegrationsPatch::class, LithoFilterPatch::class, SettingsPatch::class, RecyclerViewTreeHookPatch::class])
|
||||||
class CustomPlaybackSpeedPatch : BytecodePatch(
|
class CustomPlaybackSpeedPatch : BytecodePatch(
|
||||||
listOf(
|
listOf(
|
||||||
SpeedArrayGeneratorFingerprint,
|
SpeedArrayGeneratorFingerprint,
|
||||||
@@ -116,20 +116,19 @@ class CustomPlaybackSpeedPatch : BytecodePatch(
|
|||||||
val limiterMinConstDestination = (limiterMinConst as OneRegisterInstruction).registerA
|
val limiterMinConstDestination = (limiterMinConst as OneRegisterInstruction).registerA
|
||||||
val limiterMaxConstDestination = (limiterMaxConst as OneRegisterInstruction).registerA
|
val limiterMaxConstDestination = (limiterMaxConst as OneRegisterInstruction).registerA
|
||||||
|
|
||||||
// edit: alternatively this might work by overriding with fixed values such as 0.1x and 10x
|
|
||||||
limiterMethod.replaceInstruction(
|
limiterMethod.replaceInstruction(
|
||||||
limiterMinConstIndex,
|
limiterMinConstIndex,
|
||||||
"sget v$limiterMinConstDestination, $INTEGRATIONS_CLASS_DESCRIPTOR->minPlaybackSpeed:F"
|
"const/high16 v$limiterMinConstDestination, 0x0"
|
||||||
)
|
)
|
||||||
limiterMethod.replaceInstruction(
|
limiterMethod.replaceInstruction(
|
||||||
limiterMaxConstIndex,
|
limiterMaxConstIndex,
|
||||||
"sget v$limiterMaxConstDestination, $INTEGRATIONS_CLASS_DESCRIPTOR->maxPlaybackSpeed:F"
|
"const/high16 v$limiterMaxConstDestination, 0x41200000 # 10.0f"
|
||||||
)
|
)
|
||||||
|
|
||||||
// region Force old video quality menu.
|
// region Force old video quality menu.
|
||||||
// This is necessary, because there is no known way of adding custom playback speeds to the new menu.
|
// This is necessary, because there is no known way of adding custom playback speeds to the new menu.
|
||||||
|
|
||||||
BottomSheetHookPatch.addHook(INTEGRATIONS_CLASS_DESCRIPTOR)
|
RecyclerViewTreeHookPatch.addHook(INTEGRATIONS_CLASS_DESCRIPTOR)
|
||||||
|
|
||||||
// Required to check if the playback speed menu is currently shown.
|
// Required to check if the playback speed menu is currently shown.
|
||||||
LithoFilterPatch.addFilter(FILTER_CLASS_DESCRIPTOR)
|
LithoFilterPatch.addFilter(FILTER_CLASS_DESCRIPTOR)
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ import app.revanced.patcher.extensions.InstructionExtensions.getInstruction
|
|||||||
import app.revanced.patcher.patch.BytecodePatch
|
import app.revanced.patcher.patch.BytecodePatch
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
import app.revanced.patcher.patch.annotations.Patch
|
import app.revanced.patcher.patch.annotations.Patch
|
||||||
import app.revanced.patches.youtube.misc.bottomsheet.hook.patch.BottomSheetHookPatch
|
|
||||||
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||||
import app.revanced.patches.youtube.misc.litho.filter.patch.LithoFilterPatch
|
import app.revanced.patches.youtube.misc.litho.filter.patch.LithoFilterPatch
|
||||||
|
import app.revanced.patches.youtube.misc.recyclerviewtree.hook.patch.RecyclerViewTreeHookPatch
|
||||||
import app.revanced.patches.youtube.video.videoqualitymenu.annotations.OldVideoQualityMenuCompatibility
|
import app.revanced.patches.youtube.video.videoqualitymenu.annotations.OldVideoQualityMenuCompatibility
|
||||||
import app.revanced.patches.youtube.video.videoqualitymenu.fingerprints.VideoQualityMenuViewInflateFingerprint
|
import app.revanced.patches.youtube.video.videoqualitymenu.fingerprints.VideoQualityMenuViewInflateFingerprint
|
||||||
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
||||||
@@ -20,7 +20,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
|||||||
IntegrationsPatch::class,
|
IntegrationsPatch::class,
|
||||||
OldVideoQualityMenuResourcePatch::class,
|
OldVideoQualityMenuResourcePatch::class,
|
||||||
LithoFilterPatch::class,
|
LithoFilterPatch::class,
|
||||||
BottomSheetHookPatch::class
|
RecyclerViewTreeHookPatch::class
|
||||||
])
|
])
|
||||||
@Name("Old video quality menu")
|
@Name("Old video quality menu")
|
||||||
@Description("Shows the old video quality with the advanced video quality options instead of the new one.")
|
@Description("Shows the old video quality with the advanced video quality options instead of the new one.")
|
||||||
@@ -30,6 +30,7 @@ class OldVideoQualityMenuPatch : BytecodePatch(
|
|||||||
) {
|
) {
|
||||||
override fun execute(context: BytecodeContext) {
|
override fun execute(context: BytecodeContext) {
|
||||||
// region Patch for the old type of the video quality menu.
|
// region Patch for the old type of the video quality menu.
|
||||||
|
// Only used when spoofing to old app version.
|
||||||
|
|
||||||
VideoQualityMenuViewInflateFingerprint.result?.let {
|
VideoQualityMenuViewInflateFingerprint.result?.let {
|
||||||
it.mutableMethod.apply {
|
it.mutableMethod.apply {
|
||||||
@@ -49,7 +50,7 @@ class OldVideoQualityMenuPatch : BytecodePatch(
|
|||||||
|
|
||||||
// region Patch for the new type of the video quality menu.
|
// region Patch for the new type of the video quality menu.
|
||||||
|
|
||||||
BottomSheetHookPatch.addHook(INTEGRATIONS_CLASS_DESCRIPTOR)
|
RecyclerViewTreeHookPatch.addHook(INTEGRATIONS_CLASS_DESCRIPTOR)
|
||||||
|
|
||||||
// Required to check if the video quality menu is currently shown in order to click on the "Advanced" item.
|
// Required to check if the video quality menu is currently shown in order to click on the "Advanced" item.
|
||||||
LithoFilterPatch.addFilter(FILTER_CLASS_DESCRIPTOR)
|
LithoFilterPatch.addFilter(FILTER_CLASS_DESCRIPTOR)
|
||||||
|
|||||||
Reference in New Issue
Block a user