aboutsummaryrefslogtreecommitdiff
path: root/core/consumer-proguard-rules.pro
blob: 38d2cf196d6a896f53e205b0befd680c886ac823 (plain)
1
2
3
4
5
6
7
8
9
# Prevent Proguard from inlining methods that are intentionally extracted to ensure locals have a
# constrained liveness scope by the GC. This is needed to avoid keeping previous request references
# alive for an indeterminate amount of time. See also https://github.com/google/volley/issues/114
-keepclassmembers,allowshrinking,allowobfuscation class com.android.volley.NetworkDispatcher {
    void processRequest();
}
-keepclassmembers,allowshrinking,allowobfuscation class com.android.volley.CacheDispatcher {
    void processRequest();
}