Reserve NetIds 1..50 for OEM use.
Also reserve 51..100 for our use. Bug: 17303534 Change-Id: Id082368b493dc3c5b5c479e51d273458d80ec6aa
This commit is contained in:
@@ -425,8 +425,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
|
||||
TelephonyManager mTelephonyManager;
|
||||
|
||||
// sequence number for Networks
|
||||
private final static int MIN_NET_ID = 10; // some reserved marks
|
||||
// sequence number for Networks; keep in sync with system/netd/NetworkController.cpp
|
||||
private final static int MIN_NET_ID = 100; // some reserved marks
|
||||
private final static int MAX_NET_ID = 65535;
|
||||
private int mNextNetId = MIN_NET_ID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user