forked from LineageOS/android_frameworks_opt_telephony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.flags
34 lines (28 loc) · 1006 Bytes
/
proguard.flags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Uncomment the following to show all included rules during build
#-printconfiguration
# Generate usage file (for shrinking)
-printusage
# Keep deprecated GSM SMS API
-keepclasseswithmembers class android.telephony.gsm.SmsManager,android.telephony.gsm.SmsManager$* {
public *;
}
-keepclasseswithmembers class android.telephony.gsm.SmsMessage,android.telephony.gsm.SmsMessage$* {
public protected *;
}
# Keep telephony sysprop
-keepclasseswithmembers class android.internal.telephony.sysprop.TelephonyProperties {
public *;
}
# Keep public classes and public/protected members
-keepclasseswithmembers class com.android.internal.telephony.** {
public protected *;
}
# Keep classes and members that have the @UnsupportedAppUsage annotation
-keep @**.UnsupportedAppUsage class *
-keepclassmembers class * {
@**.UnsupportedAppUsage *;
}
# Keep CellularNetworkServiceProvider members
-keepclasseswithmembers class com.android.internal.telephony.CellularNetworkService$CellularNetworkServiceProvider {
*;
}