• Mygod's avatar
    Implement proxy mode and transproxy mode · 725fb04f
    Mygod authored
    * NAT mode is replaced by transproxy mode;
    * BaseService classes are moved into bg package and refactored in order to minimize duplicate code;
    * Local port is moved out of per-profile settings, along with hardcoded DNS port and transproxy (redsocks) port;
    * Reset is removed since the only possible clean-up needed can be performed by using force stop in app info;
    * Comparing version code before extracting assets is replaced with a more robust approach: comparing update time.
    
    NB: the only code that involves su now is for toggling TFO.
    725fb04f
ProfilesFragment.scala 14.6 KB