From 9f0b2c4c0d30212059aff4587ca52f7bc419d02b Mon Sep 17 00:00:00 2001 From: Nate Jiang Date: Thu, 10 Sep 2020 09:58:23 -0700 Subject: [PATCH] Update javaDoc to make it consistent Bug: 167950457 Test: built Change-Id: Iadd0a234bde4abea790bff2bd8d4aa5cae2b6872 --- core/java/android/net/NetworkSpecifier.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/java/android/net/NetworkSpecifier.java b/core/java/android/net/NetworkSpecifier.java index 160259e39813a..6ef496b1f6fe7 100644 --- a/core/java/android/net/NetworkSpecifier.java +++ b/core/java/android/net/NetworkSpecifier.java @@ -22,10 +22,14 @@ import android.annotation.SystemApi; /** * Describes specific properties of a requested network for use in a {@link NetworkRequest}. * - * Applications cannot instantiate this class by themselves, but can obtain instances of - * subclasses of this class via other APIs. + * This as an abstract class. Applications shouldn't instantiate this class by themselves, but can + * obtain instances of subclasses of this class via other APIs. */ public abstract class NetworkSpecifier { + /** + * Create a placeholder object. Please use subclasses of this class in a {@link NetworkRequest} + * to request a network. + */ public NetworkSpecifier() {} /**