Merge "Reserve NetIds 1..50 for OEM use." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e7df34e01d
@@ -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