1# Uncomment the following to show all included rules during build 2#-printconfiguration 3 4# Generate usage file (for shrinking) 5-printusage 6 7# Keep deprecated GSM SMS API 8-keepclasseswithmembers class android.telephony.gsm.SmsManager,android.telephony.gsm.SmsManager$* { 9 public *; 10} 11-keepclasseswithmembers class android.telephony.gsm.SmsMessage,android.telephony.gsm.SmsMessage$* { 12 public protected *; 13} 14 15# Keep telephony sysprop 16-keepclasseswithmembers class android.internal.telephony.sysprop.TelephonyProperties { 17 public *; 18} 19 20# Keep public classes and public/protected members 21-keepclasseswithmembers class com.android.internal.telephony.** { 22 public protected *; 23} 24 25# Keep classes and members that have the @UnsupportedAppUsage annotation 26# TODO(b/373579455): Evaluate if <init> needs to be kept. 27-keep @**.UnsupportedAppUsage class * { 28 void <init>(); 29} 30-keepclassmembers class * { 31 @**.UnsupportedAppUsage *; 32} 33