Remove the need for a token parameter from AsyncChannel.

By returning the channel object it self it is unnecessary
to have a token. Also, no current code needed it, if its
needed in the future it can be added back.

Change-Id: Ie1d2a1e885f9cd74e95663711ccefb760811bf16
This commit is contained in:
Wink Saville
2010-12-01 23:20:25 -08:00
parent f72a59bbbb
commit cfce303cbd
2 changed files with 30 additions and 52 deletions

View File

@@ -197,7 +197,7 @@ public class WifiService extends IWifiManager.Stub {
WifiServiceHandler(android.os.Looper looper, Context context) {
super(looper);
mWshChannel = new AsyncChannel();
mWshChannel.connect(context, this, mWifiStateMachine.getHandler(), 0);
mWshChannel.connect(context, this, mWifiStateMachine.getHandler());
}
@Override