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

Commit 5225abaa authored by Yohei, Oshima's avatar Yohei, Oshima Committed by Fen Wang
Browse files

NetworkMonitor: add log of CaptivePortal result

Add bellow information of CaptivePortalProbeResult for debug:
- isSuccessful
- isPortal
- RedirectUrl
- StartTime
- EndTime

Bug: 116292358
Change-Id: Icfaf0c0ad66a2f3d93dbb72970bb2d3b312ffdb9
parent 194170e7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1031,6 +1031,11 @@ public class NetworkMonitor extends StateMachine {
                result.isPortal() /* isCaptivePortal */,
                startTime, endTime);

        log("isCaptivePortal: isSuccessful()=" + result.isSuccessful() +
                " isPortal()=" + result.isPortal() +
                " RedirectUrl=" + result.redirectUrl +
                " StartTime=" + startTime + " EndTime=" + endTime);

        return result;
    }