46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
-keep class * implements androidx.versionedparcelable.VersionedParcelable
|
|
-keep public class android.support.**Parcelizer { *; }
|
|
-keep public class androidx.**Parcelizer { *; }
|
|
-keep public class androidx.versionedparcelable.ParcelImpl
|
|
|
|
-keepattributes AnnotationDefault,
|
|
RuntimeVisibleAnnotations,
|
|
RuntimeVisibleParameterAnnotations,
|
|
RuntimeVisibleTypeAnnotations
|
|
|
|
-keepclassmembers enum androidx.lifecycle.Lifecycle$Event {
|
|
<fields>;
|
|
}
|
|
|
|
-keep !interface * implements androidx.lifecycle.LifecycleObserver {
|
|
}
|
|
|
|
-keep class * implements androidx.lifecycle.GeneratedAdapter {
|
|
<init>(...);
|
|
}
|
|
|
|
-keepclassmembers class ** {
|
|
@androidx.lifecycle.OnLifecycleEvent *;
|
|
}
|
|
|
|
# this rule is need to work properly when app is compiled with api 28, see b/142778206
|
|
# Also this rule prevents registerIn from being inlined.
|
|
-keepclassmembers class androidx.lifecycle.ReportFragment$LifecycleCallbacks { *; }
|
|
# Never inline methods, but allow shrinking and obfuscation.
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.view.ViewCompat$Api* {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.view.WindowInsetsCompat$*Impl* {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.app.NotificationCompat$*$Api*Impl {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.os.UserHandleCompat$Api*Impl {
|
|
<methods>;
|
|
}
|
|
-keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.widget.EdgeEffectCompat$Api*Impl {
|
|
<methods>;
|
|
}
|
|
|