diff options
author | Wink Saville <wink@google.com> | 2010-12-01 23:20:25 -0800 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2010-12-01 23:20:25 -0800 |
commit | cfce303cbdd59a3883957e4bc96a0476ceeb86ac (patch) | |
tree | 9f1d4933672d57beb4849b6d63953aa9feec2777 /services | |
parent | f72a59bbbbd1e08cef131ad0341c44160d22a381 (diff) | |
download | frameworks_base-cfce303cbdd59a3883957e4bc96a0476ceeb86ac.zip frameworks_base-cfce303cbdd59a3883957e4bc96a0476ceeb86ac.tar.gz frameworks_base-cfce303cbdd59a3883957e4bc96a0476ceeb86ac.tar.bz2 |
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
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/WifiService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |