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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user