Merge "Do not register the callbacks in the constructor."
This commit is contained in:
commit
ab2c05370e
1 changed files with 6 additions and 0 deletions
|
|
@ -458,6 +458,12 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||
mTethering.getTetherableBluetoothRegexs().length != 0) &&
|
||||
mTethering.getUpstreamIfaceRegexs().length != 0);
|
||||
|
||||
try {
|
||||
nmService.registerObserver(mTethering);
|
||||
} catch (RemoteException e) {
|
||||
loge("Error registering observer :" + e);
|
||||
}
|
||||
|
||||
if (DBG) {
|
||||
mInetLog = new ArrayList();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue