manadream / AndroidProxySetter

An android app that sets the proxy settings for a wifi access point by using adb
GNU General Public License v3.0
485 stars 97 forks source link

Prioritize connected network over first known network. #7

Closed tabro closed 8 years ago

tabro commented 8 years ago

Hey @jpkrause

I am using your proxy switcher for switching between testing against various QA environments, however the fact that I had to parse SSID and password bugged me.

So I decided to make a change that prioritizes the currently connected network, if no SSID is provided.

Take it or leave it :)

.. and thanks for this helpfull little tool!

manadream commented 8 years ago

@tabro This is a great addition, thanks! Could you just change your IDE settings to use the tab character for Java files and reformat the code so that the white space stays the same as it was before? It looks like you have it set to use the 'space' character which is why github is showing the whole file being changed (you can use the query param w=0 in the url for the changes tab to see just the non-white space change btw).

tabro commented 8 years ago

@jpkrause There you go :+1:

manadream commented 8 years ago

Sweet, thanks!