Android VPN bug

Search This thread

Flexmaen

Senior Member
May 17, 2011
229
40
Maybe this could solve the problem?

The simple change to apply is returning a DUMMY NetWorkInfo for getActiveNetworkInfo() when the tun0 (or usb0 or eth0) is present in the routing table and no other interface is currently available (no WiFi, no 3G ...)
If there is a record in the routing table, why the getActiveNetworkInfo() returns null?


So, how difficult would it be to create an app that fakes the getActiveNetworkInfo?