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