mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-08 10:34:33 +02:00
chore: lint code
This commit is contained in:
parent
0fce67cd00
commit
b1f9c00ee4
@ -75,7 +75,7 @@ abstract class BaseGmsCoreSupportResourcePatch(
|
||||
required = true
|
||||
) { it!!.matches(Regex(PACKAGE_NAME_REGEX_PATTERN)) && it != ORIGINAL_PACKAGE_NAME_YOUTUBE_MUSIC }
|
||||
|
||||
protected val gmsCoreVendorGroupId by GmsCoreVendorGroupId
|
||||
private val gmsCoreVendorGroupId by GmsCoreVendorGroupId
|
||||
|
||||
override fun execute(context: ResourceContext) {
|
||||
context.patchManifest()
|
||||
|
@ -5,9 +5,9 @@ import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
||||
import app.revanced.patcher.patch.BytecodePatch
|
||||
import app.revanced.patcher.patch.PatchException
|
||||
import app.revanced.patcher.patch.annotation.Patch
|
||||
import app.revanced.patches.shared.integrations.Constants.INTEGRATIONS_UTILS_CLASS_DESCRIPTOR
|
||||
import app.revanced.patches.shared.viewgroup.fingerprints.ViewGroupMarginFingerprint
|
||||
import app.revanced.patches.shared.viewgroup.fingerprints.ViewGroupMarginParentFingerprint
|
||||
import app.revanced.patches.shared.integrations.Constants.INTEGRATIONS_UTILS_CLASS_DESCRIPTOR
|
||||
import app.revanced.util.resultOrThrow
|
||||
|
||||
@Patch(
|
||||
|
@ -37,7 +37,7 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethod
|
||||
object SwipeControlsPatch : BaseBytecodePatch(
|
||||
name = "Swipe controls",
|
||||
description = "Adds options for controlling volume and brightness with swiping, " +
|
||||
"and whether to enter fullscreen when swiping down below the player.",
|
||||
"and whether to enter fullscreen when swiping down below the player.",
|
||||
dependencies = setOf(
|
||||
LockModeStateHookPatch::class,
|
||||
MainActivityResolvePatch::class,
|
||||
|
Loading…
x
Reference in New Issue
Block a user