Add a Dummy data connection for testing purposes.
Enable with:
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1"</item>
<item>"dummy,7,7,0"</item>
</string-array>
in your config.xml
Change-Id: I3965edaeb4873e95131f4083b8d23d682ce17841
This commit is contained in:
parent
d93dc8f82d
commit
eb123acefc
1 changed files with 10 additions and 1 deletions
|
|
@ -212,10 +212,13 @@ public class ConnectivityManager
|
|||
* default connections.
|
||||
*/
|
||||
public static final int TYPE_WIMAX = 6;
|
||||
|
||||
/** {@hide} */
|
||||
public static final int TYPE_DUMMY = 7;
|
||||
/** {@hide} TODO: Need to adjust this for WiMAX. */
|
||||
public static final int MAX_RADIO_TYPE = TYPE_WIFI;
|
||||
/** {@hide} TODO: Need to adjust this for WiMAX. */
|
||||
public static final int MAX_NETWORK_TYPE = TYPE_MOBILE_HIPRI;
|
||||
public static final int MAX_NETWORK_TYPE = TYPE_DUMMY;
|
||||
|
||||
public static final int DEFAULT_NETWORK_PREFERENCE = TYPE_WIFI;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue