Merge "Fix a theoretical NPE" am: 6334d49d44 am: 92c8e43252 am: c53b4498be am: 0e51f38933
Change-Id: Ia0944c7e7b3a2fd88e5e234d30e21e999e3fa1d4
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}.
|
* this is the destination the probes are being redirected to, otherwise {@code null}.
|
||||||
*/
|
*/
|
||||||
public void onValidationStatus(@ValidationStatus int status, @Nullable Uri redirectUri) {
|
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 */
|
/** @hide TODO delete once subclasses have moved to onValidationStatus */
|
||||||
protected void networkStatus(int status, String redirectUrl) {
|
protected void networkStatus(int status, String redirectUrl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user