Merge "Fix a theoretical NPE" into rvc-dev am: ce6aa16b80 am: 67cdd0d1a1 am: 96f01a4f80
Change-Id: I9f0095f8bb999f837eb87b5d94d15886fa2838f2
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user