chore: Lint code

This commit is contained in:
inotia00
2024-12-08 15:46:41 +09:00
parent ac72748834
commit da10e62286
4 changed files with 10 additions and 5 deletions

View File

@ -21,7 +21,9 @@ import app.revanced.util.findMethodOrThrow
private var defaultValue = "false"
private val spoofAppVersionBytecodePatch = bytecodePatch {
private val spoofAppVersionBytecodePatch = bytecodePatch(
description = "spoofAppVersionBytecodePatch"
) {
dependsOn(
baseSpoofAppVersionPatch("$GENERAL_CLASS_DESCRIPTOR->getVersionOverride(Ljava/lang/String;)Ljava/lang/String;"),
versionCheckPatch,

View File

@ -405,6 +405,7 @@ val videoInformationPatch = bytecodePatch(
null,
ImmutableMethodImplementation(
4, """
# Check if the playback speed is not auto (-2.0f)
const/4 v0, 0x0
cmpg-float v0, v3, v0
if-lez v0, :ignore