From cfce303cbdd59a3883957e4bc96a0476ceeb86ac Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Wed, 1 Dec 2010 23:20:25 -0800 Subject: 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 --- services/java/com/android/server/WifiService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') diff --git a/services/java/com/android/server/WifiService.java b/services/java/com/android/server/WifiService.java index d523fa8..7f81a25 100644 --- a/services/java/com/android/server/WifiService.java +++ b/services/java/com/android/server/WifiService.java @@ -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 -- cgit v1.1