mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-19 02:29:25 +01:00
2a394f98aa
- Extend Wear support - Rework Gms Services - Fix ProGuard - Add Waze to Google Whitelist (as in original Play Services, fixes #116)
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# We use ProGuard for optimizations, obfuscation is for those who have sth to hide
|
|
-dontobfuscate
|
|
-optimizations !code/allocation/variable
|
|
|
|
# We're referencing stuff that is unknown to the system
|
|
-libraryjar ../unifiednlp-compat/build/classes/main
|
|
-dontwarn java.awt.**
|
|
-dontwarn javax.annotation.**
|
|
|
|
# OkIO, OkHttp
|
|
-dontwarn okio.**
|
|
-dontwarn com.squareup.okhttp.**
|
|
-dontwarn org.oscim.tiling.source.OkHttpEngine
|
|
-dontwarn org.oscim.tiling.source.OkHttpEngine$OkHttpFactory
|
|
|
|
# Disable ProGuard Notes, they won't help here
|
|
-dontnote
|
|
|
|
# Keep dynamically loaded GMS classes
|
|
-keep public class com.google.android.gms.maps.internal.CreatorImpl { public *; }
|
|
-keep public class com.google.android.gms.common.security.ProviderInstallerImpl { public *; }
|
|
-keep public class com.google.android.gms.plus.plusone.PlusOneButtonCreatorImpl { public *; }
|
|
|
|
# Keep AutoSafeParcelables
|
|
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
|
|
@org.microg.safeparcel.SafeParceled *;
|
|
}
|
|
|
|
# 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 * extends com.squareup.wire.Message
|
|
-keep public class * extends com.squareup.wire.Message$Builder { public <init>(...); }
|