I am trying to learn from Android source on Data-Wifi automatic switch.

The closest I can get is DataCommand and WifiCommand, they seem to switch network preference (through ConnectivityManager), by which I suppose can switch active interface. But I cannot find where these commands are actually used.



Can any one has experience in Android framework point for me where to look at?

I know this might be the wrong place to ask source code question, but any help is appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.