Merge "src_frameworkcommon: Fix filegroup base path" am: a9e12249f4 am: 6cae17b0a9

Change-Id: Ia14d60a936e018c5ee6956eb36f462cc257d5e45
diff --git a/common/Android.bp b/common/Android.bp
index 8f845bc..d29ba36 100644
--- a/common/Android.bp
+++ b/common/Android.bp
@@ -23,9 +23,14 @@
 //    rules file. Otherwise, it will end up on the boot classpath and other modules will not be able
 //    to provide their own copy.
 
+// Note: all filegroups here must have the right path attribute because otherwise, if they are
+// included in the bootclasspath, they could incorrectly be included in the SDK documentation even
+// though they are not in the current.txt files.
+
 filegroup {
     name: "net-utils-framework-common-srcs",
     srcs: ["src_frameworkcommon/**/*.java"],
+    path: "src_frameworkcommon",
     visibility: ["//frameworks/base"],
 }
 
@@ -74,6 +79,7 @@
         // Any class here *must* have a corresponding jarjar rule in the telephony build rules.
         "src_servicescommon/android/net/NetworkFactory.java",
     ],
+    path: "src_servicescommon",
     visibility: [
         "//frameworks/opt/telephony",
     ],
@@ -88,6 +94,7 @@
         "src_frameworkcommon/android/net/util/nsd/DnsSdTxtRecord.java",
         "src_frameworkcommon/android/net/util/MacAddressUtils.java",
     ],
+    path: "src_frameworkcommon",
     visibility: [
         "//frameworks/base",
     ],
diff --git a/common/src_frameworkcommon/android/net/util/IpRange.java b/common/src_frameworkcommon/android/net/util/IpRange.java
index 04e9277..099770b 100644
--- a/common/src_frameworkcommon/android/net/util/IpRange.java
+++ b/common/src_frameworkcommon/android/net/util/IpRange.java
@@ -39,6 +39,8 @@
  *
  * <p>Conversion to prefixes are deterministic, and will always return the same set of {@link
  * IpPrefix}(es). Ordering of IpPrefix instances is not guaranteed.
+ *
+ * @hide
  */
 public final class IpRange {
     private static final int SIGNUM_POSITIVE = 1;
diff --git a/common/src_frameworkcommon/android/net/util/LinkPropertiesUtils.java b/common/src_frameworkcommon/android/net/util/LinkPropertiesUtils.java
index 8123826..282fa10 100644
--- a/common/src_frameworkcommon/android/net/util/LinkPropertiesUtils.java
+++ b/common/src_frameworkcommon/android/net/util/LinkPropertiesUtils.java
@@ -33,6 +33,7 @@
 
 /**
  * Collection of link properties utilities.
+ * @hide
  */
 public final class LinkPropertiesUtils {
 
diff --git a/common/src_frameworkcommon/android/net/util/MacAddressUtils.java b/common/src_frameworkcommon/android/net/util/MacAddressUtils.java
index 3ad452b..969d127 100644
--- a/common/src_frameworkcommon/android/net/util/MacAddressUtils.java
+++ b/common/src_frameworkcommon/android/net/util/MacAddressUtils.java
@@ -27,6 +27,7 @@
 
 /**
  * Collection of MAC address utilities.
+ * @hide
  */
 public final class MacAddressUtils {
 
diff --git a/common/src_frameworkcommon/android/net/util/NetUtils.java b/common/src_frameworkcommon/android/net/util/NetUtils.java
index e006590..302119e 100644
--- a/common/src_frameworkcommon/android/net/util/NetUtils.java
+++ b/common/src_frameworkcommon/android/net/util/NetUtils.java
@@ -27,6 +27,7 @@
 
 /**
  * Collection of network common utilities.
+ * @hide
  */
 public final class NetUtils {