Stop creating threads for tethering.

Use the passed in looper and save threads.

Change-Id: I6db04ef64e339a5fb2b71e9fb1da32e2d600447c
This commit is contained in:
Robert Greenwalt
2010-03-11 15:03:08 -08:00
parent 46ceefadaa
commit c0b6c60d14

View File

@@ -320,7 +320,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
}
}
mTethering = new Tethering(mContext);
mTethering = new Tethering(mContext, mHandler.getLooper());
mTetheringConfigValid = (((mNetTrackers[ConnectivityManager.TYPE_MOBILE_DUN] != null) ||
!mTethering.isDunRequired()) &&
(mTethering.getTetherableUsbRegexs().length != 0 ||