• Mygod's avatar
    Implement UDP fallback · 867f680b
    Mygod authored
    When a profile is selected as UDP fallback, only its server settings are respected. Tested with core.androidTest and locally with QUIC in YouTube app with plugin enabled.
    
    Other notable changes:
    
    * `IShadowsocksServiceCallback.trafficUpdated` now gets an object/data class for 4 stats. When profileId = 0, stats object represents the accumulated stats for all profiles.
    * Refactor `TrafficMonitor`.
    * Importing/exporting via JSON using a new field `udp_fallback`.
    * PrivateDatabase is updated to version 27 to accommodate the new field.
    867f680b
AndroidManifest.xml 4.82 KB