• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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$* {
9public *;
10}
11-keepclasseswithmembers class android.telephony.gsm.SmsMessage,android.telephony.gsm.SmsMessage$* {
12public protected *;
13}
14
15# Keep telephony sysprop
16-keepclasseswithmembers class android.internal.telephony.sysprop.TelephonyProperties {
17public *;
18}
19
20# Keep public classes and public/protected members
21-keepclasseswithmembers class com.android.internal.telephony.** {
22public protected *;
23}
24
25# Keep classes and members that have the @UnsupportedAppUsage annotation
26-keep @**.UnsupportedAppUsage class *
27-keepclassmembers class * {
28@**.UnsupportedAppUsage *;
29}
30