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

Commit df0ee25d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix a theoretical NPE" am: c312053b am: 668661d9

Change-Id: Ibf814e81ca984b47b9be1e423e2cde908cf7f193
parents 4b7d0625 668661d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -812,7 +812,7 @@ public abstract class NetworkAgent {
     *        this is the destination the probes are being redirected to, otherwise {@code null}.
     */
    public void onValidationStatus(@ValidationStatus int status, @Nullable Uri redirectUri) {
        networkStatus(status, redirectUri.toString());
        networkStatus(status, null == redirectUri ? "" : redirectUri.toString());
    }
    /** @hide TODO delete once subclasses have moved to onValidationStatus */
    protected void networkStatus(int status, String redirectUrl) {