Chi Zhang | 1d177d7 | 2021-08-16 14:57:16 -0700 | [diff] [blame] | 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 |
Chi Zhang | 086b39e | 2021-11-04 21:17:18 -0700 | [diff] [blame^] | 8 | -keepclasseswithmembers class android.telephony.gsm.SmsManager,android.telephony.gsm.SmsManager$* { |
Chi Zhang | 1d177d7 | 2021-08-16 14:57:16 -0700 | [diff] [blame] | 9 | public *; |
| 10 | } |
Chi Zhang | 086b39e | 2021-11-04 21:17:18 -0700 | [diff] [blame^] | 11 | -keepclasseswithmembers class android.telephony.gsm.SmsMessage,android.telephony.gsm.SmsMessage$* { |
Chi Zhang | 1d177d7 | 2021-08-16 14:57:16 -0700 | [diff] [blame] | 12 | public *; |
| 13 | } |
| 14 | |
| 15 | # Keep telephony sysprop |
| 16 | -keepclasseswithmembers class android.internal.telephony.sysprop.TelephonyProperties { |
| 17 | public *; |
| 18 | } |
| 19 | |
| 20 | # Keep public classes and members |
| 21 | -keepclasseswithmembers class com.android.internal.telephony.** { |
| 22 | public *; |
| 23 | } |
| 24 | |
| 25 | # Keep classes and members that have the @UnsupportedAppUsage annotation |
| 26 | -keep @**.UnsupportedAppUsage class * |
| 27 | -keepclassmembers class * { |
| 28 | @**.UnsupportedAppUsage *; |
| 29 | } |