Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9fff92d authored by Jeff Davidson's avatar Jeff Davidson
Browse files

Fix flipped captive portal bit in network conditions bcast.

Bug: 18651036
Change-Id: I191fcafab1fc5ba65be06359da1edc7ca5aabc6a
parent 647b437d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);