mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Remove the legacy view-based APK module (:apk-legacy), along with its subcommands, configurations, release packaging steps, and associated unused dependencies. Assisted-by: Gemini 3.8 Flash
37 lines
1.0 KiB
Prolog
37 lines
1.0 KiB
Prolog
# Parcelable
|
|
-keepclassmembers class * implements android.os.Parcelable {
|
|
public static final ** CREATOR;
|
|
}
|
|
|
|
# Kotlin
|
|
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
|
|
public static void check*(...);
|
|
public static void throw*(...);
|
|
}
|
|
-assumenosideeffects class java.util.Objects {
|
|
public static ** requireNonNull(...);
|
|
}
|
|
-assumenosideeffects public class kotlin.coroutines.jvm.internal.DebugMetadataKt {
|
|
private static ** getDebugMetadataAnnotation(...) return null;
|
|
}
|
|
|
|
# Stub
|
|
-keep class com.topjohnwu.magisk.core.App { <init>(java.lang.Object); }
|
|
|
|
# Strip Timber verbose and debug logging
|
|
-assumenosideeffects class timber.log.Timber$Tree {
|
|
public void v(**);
|
|
public void d(**);
|
|
}
|
|
|
|
# Protobuf
|
|
-shrinkunusedprotofields
|
|
|
|
# With R8 full mode generic signatures are stripped for classes that are not
|
|
# kept. Suspend functions are wrapped in continuations where the type argument
|
|
# is used.
|
|
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
|
|
|
|
-dontwarn org.junit.**
|
|
-dontwarn org.apache.**
|