Merge branch 'dev' into fork/obXfuse/feat/gmxmail/hideads

# Conflicts:
#	patches/api/patches.api
This commit is contained in:
oSumAtrIX 2026-02-26 23:13:24 +01:00
commit 42f2e156e7
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
3 changed files with 30 additions and 2 deletions

View file

@ -240,6 +240,10 @@ public final class app/revanced/patches/gmxmail/ads/HideAdsPatchKt {
public static final fun getHideAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
}
public final class app/revanced/patches/gmxmail/freephone/ForceEnableFreephonePatchKt {
public static final fun getForceEnableFreePhonePatch ()Lapp/revanced/patcher/patch/BytecodePatch;
}
public final class app/revanced/patches/gmxmail/layout/HidePremiumUpgradeButtonKt {
public static final fun getHidePremiumUpgradeButtonPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
}
@ -939,8 +943,8 @@ public final class app/revanced/patches/shared/misc/gms/FingerprintsKt {
}
public final class app/revanced/patches/shared/misc/gms/GmsCoreSupportPatchKt {
public static final fun gmsCoreSupportPatch (Ljava/lang/String;Ljava/lang/String;Lapp/revanced/patcher/Fingerprint;Ljava/util/Set;Lapp/revanced/patcher/Fingerprint;Lapp/revanced/patcher/patch/Patch;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/patch/BytecodePatch;
public static synthetic fun gmsCoreSupportPatch$default (Ljava/lang/String;Ljava/lang/String;Lapp/revanced/patcher/Fingerprint;Ljava/util/Set;Lapp/revanced/patcher/Fingerprint;Lapp/revanced/patcher/patch/Patch;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/patch/BytecodePatch;
public static final fun gmsCoreSupportPatch (Ljava/lang/String;Ljava/lang/String;Lapp/revanced/patcher/Fingerprint;Ljava/util/Set;Lkotlin/Pair;Lapp/revanced/patcher/patch/Patch;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/patch/BytecodePatch;
public static synthetic fun gmsCoreSupportPatch$default (Ljava/lang/String;Ljava/lang/String;Lapp/revanced/patcher/Fingerprint;Ljava/util/Set;Lkotlin/Pair;Lapp/revanced/patcher/patch/Patch;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/patch/BytecodePatch;
public static final fun gmsCoreSupportResourcePatch (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/revanced/patcher/patch/Option;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/patch/ResourcePatch;
public static synthetic fun gmsCoreSupportResourcePatch$default (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/revanced/patcher/patch/Option;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/patch/ResourcePatch;
}

View file

@ -0,0 +1,9 @@
package app.revanced.patches.gmxmail.freephone
import app.revanced.patcher.fingerprint
internal val isEuiccEnabledFingerprint = fingerprint {
custom { method, _ ->
method.name == "isEuiccEnabled"
}
}

View file

@ -0,0 +1,15 @@
package app.revanced.patches.gmxmail.freephone
import app.revanced.patcher.patch.bytecodePatch
import app.revanced.util.returnEarly
val forceEnableFreePhonePatch = bytecodePatch(
name = "Force enable FreePhone",
description = "Enables the FreePhone menu in the navigation drawer even on devices that don't support eSIM.",
) {
compatibleWith("de.gmx.mobile.android.mail")
execute {
isEuiccEnabledFingerprint.method.returnEarly(true)
}
}