Fix CTS testStartUsingNetworkFeature_enableHipri fail

The return value of mWifiManager.isWifiEnabled()
&& mWifiManager.getConnectionInfo().getSSID() != null can not
correctly identify if WiFi is connected or not.

The fix is to modify the code logic used to judge if WiFi is connected.

Bug 15578218 and 15578219

Change-Id: I8ae40980c9cd1ea91dafe0ca7c893c84b35709bf
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
1 file changed