am 386effc7: am f779e6b8: Merge "Fix flipped captive portal bit in network conditions bcast." into lmp-mr1-dev
* commit '386effc7a160e330420f7746f41d46c12f64579d': Fix flipped captive portal bit in network conditions bcast.
This commit is contained in:
@@ -678,7 +678,8 @@ public class NetworkMonitor extends StateMachine {
|
|||||||
httpResponseCode = 204;
|
httpResponseCode = 204;
|
||||||
}
|
}
|
||||||
|
|
||||||
sendNetworkConditionsBroadcast(true /* response received */, httpResponseCode == 204,
|
sendNetworkConditionsBroadcast(true /* response received */,
|
||||||
|
httpResponseCode != 204 /* isCaptivePortal */,
|
||||||
requestTimestamp, responseTimestamp);
|
requestTimestamp, responseTimestamp);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
if (DBG) log("Probably not a portal: exception " + e);
|
if (DBG) log("Probably not a portal: exception " + e);
|
||||||
|
|||||||
Reference in New Issue
Block a user