am f779e6b8: Merge "Fix flipped captive portal bit in network conditions bcast." into lmp-mr1-dev

* commit 'f779e6b8ac827d923e3e7905045ad5c35512c535':
  Fix flipped captive portal bit in network conditions bcast.
This commit is contained in:
Jeff Davidson
2014-12-06 02:10:49 +00:00
committed by Android Git Automerger

View File

@@ -678,7 +678,8 @@ public class NetworkMonitor extends StateMachine {
httpResponseCode = 204;
}
sendNetworkConditionsBroadcast(true /* response received */, httpResponseCode == 204,
sendNetworkConditionsBroadcast(true /* response received */,
httpResponseCode != 204 /* isCaptivePortal */,
requestTimestamp, responseTimestamp);
} catch (IOException e) {
if (DBG) log("Probably not a portal: exception " + e);