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