microg-gms/play-services-basement/consumer-rules.pro

19 lines
848 B
Prolog
Raw Permalink Normal View History

2025-11-15 17:44:12 +01:00
# SPDX-FileCopyrightText: 2023 microG Project Team
# SPDX-License-Identifier: CC0-1.0
# Keep AutoSafeParcelables
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
@com.google.android.gms.common.internal.safeparcel.SafeParcelable$Field *;
@org.microg.safeparcel.SafeParceled *;
}
# Keep asInterface method cause it's accessed from SafeParcel
-keepattributes InnerClasses
-keep public class * extends android.os.IInterface {
public static * asInterface(android.os.IBinder);
}
-keep public class * extends android.os.Binder { public static *; }
# Keep name of SafeParcelables and their creators
-keepnames public class * implements com.google.android.gms.common.internal.safeparcel.SafeParcelable
-keepnames public class * implements com.google.android.gms.common.internal.safeparcel.SafeParcelableCreatorAndWriter