mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-28 06:03:00 +00:00
Possible casting fix
This commit is contained in:
parent
b5e5072ba2
commit
3ee45e6102
1 changed files with 59 additions and 1 deletions
60
play-services-core/proguard-rules.pro
vendored
60
play-services-core/proguard-rules.pro
vendored
|
@ -1 +1,59 @@
|
||||||
../proguard.flags
|
# We're referencing stuff that is unknown to the system
|
||||||
|
#-libraryjar ../unifiednlp-compat/build/classes/java/main
|
||||||
|
-dontwarn java.awt.**
|
||||||
|
-dontwarn javax.annotation.**
|
||||||
|
|
||||||
|
# External libs
|
||||||
|
-dontwarn okio.**
|
||||||
|
-dontwarn com.squareup.okhttp.**
|
||||||
|
-dontwarn org.oscim.tiling.source.OkHttpEngine
|
||||||
|
-dontwarn org.oscim.tiling.source.OkHttpEngine$OkHttpFactory
|
||||||
|
-dontwarn com.caverock.androidsvg.**
|
||||||
|
-dontwarn org.slf4j.**
|
||||||
|
-dontwarn org.codehaus.jackson.**
|
||||||
|
-dontwarn com.android.location.provider.**
|
||||||
|
|
||||||
|
# Disable ProGuard Notes, they won't help here
|
||||||
|
-dontnote
|
||||||
|
|
||||||
|
# Keep dynamically loaded GMS classes
|
||||||
|
-keep public class com.google.android.gms.common.security.ProviderInstallerImpl { public *; }
|
||||||
|
-keep public class com.google.android.gms.cast.framework.internal.CastDynamiteModuleImpl { public *; }
|
||||||
|
|
||||||
|
# Keep AutoSafeParcelables
|
||||||
|
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
|
||||||
|
@org.microg.safeparcel.SafeParceled *;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Keep form data
|
||||||
|
-keepclassmembers class * {
|
||||||
|
@org.microg.gms.common.HttpFormClient$* *;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Keep our stuff
|
||||||
|
-keep class org.microg** { *; }
|
||||||
|
-keep class com.google.android.gms** { *; }
|
||||||
|
-keep class com.mgoogle** { *; }
|
||||||
|
-keepdirectories org/microg**
|
||||||
|
-keepdirectories com/google/android/gms**
|
||||||
|
-keepdirectories com/mgoogle**
|
||||||
|
|
||||||
|
# Keep asInterface method cause it's accessed from SafeParcel
|
||||||
|
-keepattributes InnerClasses
|
||||||
|
-keepclassmembers interface * extends android.os.IInterface {
|
||||||
|
public static class *;
|
||||||
|
}
|
||||||
|
-keep public class * extends android.os.Binder { public static *; }
|
||||||
|
|
||||||
|
# Keep library info
|
||||||
|
-keep class **.BuildConfig { *; }
|
||||||
|
|
||||||
|
# Keep protobuf class builders
|
||||||
|
-keep public class com.squareup.wire.Message
|
||||||
|
-keep public class * extends com.squareup.wire.Message
|
||||||
|
-keep public class * extends com.squareup.wire.Message$Builder { public <init>(...); }
|
||||||
|
|
||||||
|
# Proguard configuration for Jackson 1.x
|
||||||
|
-keepclassmembers class * {
|
||||||
|
@org.codehaus.jackson.annotate.* *;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue