Skip to content

Commit

Permalink
build: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
anddea committed Jun 11, 2024
1 parent 208d22f commit ddbcc37
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
43 changes: 20 additions & 23 deletions api/revanced-patches.api
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public final class app/revanced/patches/music/layout/branding/icon/CustomBrandin
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
public final fun getAppIcon ()Ljava/lang/String;
public final fun setAppIcon (Ljava/lang/String;)V
}

public final class app/revanced/patches/music/layout/branding/name/CustomBrandingNamePatch : app/revanced/util/patch/BaseResourcePatch {
Expand Down Expand Up @@ -223,12 +222,6 @@ public final class app/revanced/patches/music/player/components/PlayerComponents
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
}

public final class app/revanced/patches/music/player/replace/ReplaceCastButtonPatch : app/revanced/util/patch/BaseBytecodePatch {
public static final field INSTANCE Lapp/revanced/patches/music/player/replace/ReplaceCastButtonPatch;
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
}

public final class app/revanced/patches/music/utils/compatibility/Constants {
public static final field INSTANCE Lapp/revanced/patches/music/utils/compatibility/Constants;
public final fun getCOMPATIBLE_PACKAGE ()Ljava/util/Set;
Expand Down Expand Up @@ -304,12 +297,6 @@ public final class app/revanced/patches/music/utils/mainactivity/MainActivityRes
public static final field INSTANCE Lapp/revanced/patches/music/utils/mainactivity/MainActivityResolvePatch;
}

public final class app/revanced/patches/music/utils/playerresponse/PlayerResponsePatch : app/revanced/patcher/patch/BytecodePatch {
public static final field INSTANCE Lapp/revanced/patches/music/utils/playerresponse/PlayerResponsePatch;
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
}

public final class app/revanced/patches/music/utils/playertype/PlayerTypeHookPatch : app/revanced/patcher/patch/BytecodePatch {
public static final field INSTANCE Lapp/revanced/patches/music/utils/playertype/PlayerTypeHookPatch;
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
Expand Down Expand Up @@ -343,7 +330,6 @@ public final class app/revanced/patches/music/utils/resourceid/SharedResourceIdP
public final fun getMusicTasteBuilderShelf ()J
public final fun getNamesInactiveAccountThumbnailSize ()J
public final fun getOfflineSettingsMenuItem ()J
public final fun getPlayerCastMediaRouteButton ()J
public final fun getPlayerOverlayChip ()J
public final fun getPrivacyTosFooter ()J
public final fun getQualityAuto ()J
Expand Down Expand Up @@ -381,7 +367,6 @@ public final class app/revanced/patches/music/utils/resourceid/SharedResourceIdP
public final fun setMusicTasteBuilderShelf (J)V
public final fun setNamesInactiveAccountThumbnailSize (J)V
public final fun setOfflineSettingsMenuItem (J)V
public final fun setPlayerCastMediaRouteButton (J)V
public final fun setPlayerOverlayChip (J)V
public final fun setPrivacyTosFooter (J)V
public final fun setQualityAuto (J)V
Expand Down Expand Up @@ -647,6 +632,7 @@ public final class app/revanced/patches/reddit/utils/settings/SettingsPatch : ap
}

public abstract class app/revanced/patches/shared/ads/BaseAdsPatch : app/revanced/patcher/patch/BytecodePatch {
public static final field INTEGRATIONS_CLASS_DESCRIPTOR Ljava/lang/String;
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
public fun execute (Lapp/revanced/patcher/data/BytecodeContext;)V
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
Expand Down Expand Up @@ -731,6 +717,7 @@ public final class app/revanced/patches/shared/integrations/Constants {
public static final field INTEGRATIONS_PATH Ljava/lang/String;
public static final field INTEGRATIONS_SETTING_CLASS_DESCRIPTOR Ljava/lang/String;
public static final field INTEGRATIONS_UTILS_CLASS_DESCRIPTOR Ljava/lang/String;
public static final field PATCHES_PATH Ljava/lang/String;
}

public final class app/revanced/patches/shared/litho/LithoFilterPatch : app/revanced/patcher/patch/BytecodePatch, java/io/Closeable {
Expand Down Expand Up @@ -1015,7 +1002,6 @@ public final class app/revanced/patches/youtube/layout/branding/icon/CustomBrand
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
public final fun getAppIcon ()Ljava/lang/String;
public final fun setAppIcon (Ljava/lang/String;)V
}

public final class app/revanced/patches/youtube/layout/branding/name/CustomBrandingNamePatch : app/revanced/util/patch/BaseResourcePatch {
Expand Down Expand Up @@ -1054,12 +1040,6 @@ public final class app/revanced/patches/youtube/layout/playerbuttonbg/ForcePlaye
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
}

public final class app/revanced/patches/youtube/layout/splashanimation/AddSplashAnimationPatch : app/revanced/patcher/patch/ResourcePatch {
public static final field INSTANCE Lapp/revanced/patches/youtube/layout/splashanimation/AddSplashAnimationPatch;
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
}

public final class app/revanced/patches/youtube/layout/theme/BaseThemePatch : app/revanced/patcher/patch/ResourcePatch {
public static final field INSTANCE Lapp/revanced/patches/youtube/layout/theme/BaseThemePatch;
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
Expand All @@ -1078,6 +1058,16 @@ public final class app/revanced/patches/youtube/layout/theme/ThemePatch : app/re
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
}

public final class app/revanced/patches/youtube/misc/codecs/OpusCodecBytecodePatch : app/revanced/patches/shared/opus/BaseOpusCodecsPatch {
public static final field INSTANCE Lapp/revanced/patches/youtube/misc/codecs/OpusCodecBytecodePatch;
}

public final class app/revanced/patches/youtube/misc/codecs/OpusCodecPatch : app/revanced/util/patch/BaseResourcePatch {
public static final field INSTANCE Lapp/revanced/patches/youtube/misc/codecs/OpusCodecPatch;
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
public fun execute (Lapp/revanced/patcher/data/ResourceContext;)V
}

public final class app/revanced/patches/youtube/misc/debugging/DebuggingPatch : app/revanced/util/patch/BaseResourcePatch {
public static final field INSTANCE Lapp/revanced/patches/youtube/misc/debugging/DebuggingPatch;
public synthetic fun execute (Lapp/revanced/patcher/data/Context;)V
Expand Down Expand Up @@ -1510,6 +1500,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI
public final fun getToolTipContentView ()J
public final fun getTotalTime ()J
public final fun getTouchArea ()J
public final fun getVarispeedUnavailableTitle ()J
public final fun getVideoQualityBottomSheet ()J
public final fun getVideoQualityUnavailableAnnouncement ()J
public final fun getVoiceSearch ()J
Expand Down Expand Up @@ -1596,6 +1587,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI
public final fun setToolTipContentView (J)V
public final fun setTotalTime (J)V
public final fun setTouchArea (J)V
public final fun setVarispeedUnavailableTitle (J)V
public final fun setVideoQualityBottomSheet (J)V
public final fun setVideoQualityUnavailableAnnouncement (J)V
public final fun setVoiceSearch (J)V
Expand Down Expand Up @@ -1744,7 +1736,7 @@ public final class app/revanced/util/BytecodeUtilsKt {
public static final fun containsReferenceInstructionIndex (Lcom/android/tools/smali/dexlib2/iface/Method;Ljava/lang/String;)Z
public static final fun containsWideLiteralInstructionIndex (Lcom/android/tools/smali/dexlib2/iface/Method;J)Z
public static final fun findMutableMethodOf (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableClass;Lcom/android/tools/smali/dexlib2/iface/Method;)Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;
public static final fun getEmptyStringInstructionIndex (Lcom/android/tools/smali/dexlib2/iface/Method;)I
public static final fun findOpcodeIndicesReversed (Lcom/android/tools/smali/dexlib2/iface/Method;Lcom/android/tools/smali/dexlib2/Opcode;)Ljava/util/List;
public static final fun getException (Lapp/revanced/patcher/fingerprint/MethodFingerprint;)Lapp/revanced/patcher/patch/PatchException;
public static final fun getStartsWithStringInstructionIndex (Lcom/android/tools/smali/dexlib2/iface/Method;Ljava/lang/String;)I
public static final fun getStringInstructionIndex (Lcom/android/tools/smali/dexlib2/iface/Method;Ljava/lang/String;)I
Expand Down Expand Up @@ -1772,7 +1764,12 @@ public final class app/revanced/util/BytecodeUtilsKt {
public static final fun getWalkerMethod (Lapp/revanced/patcher/fingerprint/MethodFingerprintResult;Lapp/revanced/patcher/data/BytecodeContext;I)Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;
public static final fun getWalkerMethod (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;Lapp/revanced/patcher/data/BytecodeContext;I)Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;
public static final fun getWideLiteralInstructionIndex (Lcom/android/tools/smali/dexlib2/iface/Method;J)I
public static final fun indexOfFirstInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;ILkotlin/jvm/functions/Function1;)I
public static final fun indexOfFirstInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;Lkotlin/jvm/functions/Function1;)I
public static synthetic fun indexOfFirstInstruction$default (Lcom/android/tools/smali/dexlib2/iface/Method;ILkotlin/jvm/functions/Function1;ILjava/lang/Object;)I
public static final fun indexOfFirstInstructionOrThrow (Lcom/android/tools/smali/dexlib2/iface/Method;ILkotlin/jvm/functions/Function1;)I
public static synthetic fun indexOfFirstInstructionOrThrow$default (Lcom/android/tools/smali/dexlib2/iface/Method;ILkotlin/jvm/functions/Function1;ILjava/lang/Object;)I
public static final fun indexOfWideLiteralInstructionOrThrow (Lcom/android/tools/smali/dexlib2/iface/Method;J)I
public static final fun injectHideViewCall (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;IILjava/lang/String;Ljava/lang/String;)V
public static final fun literalInstructionBooleanHook (Lapp/revanced/patcher/fingerprint/MethodFingerprint;ILjava/lang/String;)V
public static final fun literalInstructionBooleanHook (Lapp/revanced/patcher/fingerprint/MethodFingerprint;JLjava/lang/String;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ object CustomBrandingIconPatch : BaseResourcePatch(
)
}

private val AppIcon by stringPatchOption(
val AppIcon by stringPatchOption(
key = "AppIcon",
default = DEFAULT_ICON_KEY,
values = availableIcon,
Expand Down

0 comments on commit ddbcc37

Please sign in to comment.