Bug 1164468 - Boolean got incorrectly flipped and stumbling uploads stopped. r=rnewman, a=lmandel
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user