Bug 1164468 - Boolean got incorrectly flipped and stumbling uploads stopped. r=rnewman, a=lmandel

This commit is contained in:
Garvan Keeley
2015-05-13 14:49:04 -04:00
parent a21f368c48
commit ecbb1ddfee

View File

@@ -151,7 +151,7 @@ public class AsyncUploader extends AsyncTask<Void, Void, SyncSummary> {
long uploadedWifis = 0; long uploadedWifis = 0;
if (!mUploadArgs.mShouldIgnoreWifiStatus && mUploadArgs.mUseWifiOnly && if (!mUploadArgs.mShouldIgnoreWifiStatus && mUploadArgs.mUseWifiOnly &&
mUploadArgs.mNetworkUtils.isWifiAvailable()) { !mUploadArgs.mNetworkUtils.isWifiAvailable()) {
if (AppGlobals.isDebug) { if (AppGlobals.isDebug) {
Log.d(LOG_TAG, "not on WiFi, not sending"); Log.d(LOG_TAG, "not on WiFi, not sending");
} }