commit | eabea69eed1ed2d4e89be2ded0a2a10ca55cdc58 | [log] [tgz] |
---|---|---|
author | Rebecca Silberstein <silberst@google.com> | Fri Jul 29 11:46:58 2016 -0700 |
committer | Rebecca Silberstein <silberst@google.com> | Fri Jul 29 11:46:58 2016 -0700 |
tree | 03f36304100f24684b60d01b68d1f5206b3d2266 | |
parent | 5af8f08aeb50d944cf6211170989b467be00d6ed [diff] |
WifiManagerFacade: remove extra disconnect call When calling connect in the WifiManagerFacade, there is an extra disconnect call. Remove this call to avoid inserting logic in the facade class. Further evaluation needs to be done on the other calls in the method. BUG: 30439726 Change-Id: Ic7544d63436b0e5db92fd98e014b61f68f7e8e61
diff --git a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java index 16912f3..7a2349b 100755 --- a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java +++ b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiManagerFacade.java
@@ -522,7 +522,6 @@ Log.e("Got negative network Id."); return false; } - mWifi.disconnect(); mWifi.enableNetwork(nId, true); return mWifi.reconnect(); }