@@ -892,7 +892,6 @@ public NetworkCapabilities getNetworkCapabilities(Network network) {
892892 *
893893 * @deprecated Deprecated in favor of the cleaner
894894 * {@link #requestNetwork(NetworkRequest, NetworkCallback)} API.
895- * @removed
896895 */
897896 public int startUsingNetworkFeature (int networkType , String feature ) {
898897 NetworkCapabilities netCap = networkCapabilitiesForFeature (networkType , feature );
@@ -939,8 +938,7 @@ public int startUsingNetworkFeature(int networkType, String feature) {
939938 * implementation+feature combination, except that the value {@code -1}
940939 * always indicates failure.
941940 *
942- * @deprecated Deprecated in favor of the cleaner {@link unregisterNetworkCallback} API.
943- * @removed
941+ * @deprecated Deprecated in favor of the cleaner {@link #unregisterNetworkCallback} API.
944942 */
945943 public int stopUsingNetworkFeature (int networkType , String feature ) {
946944 NetworkCapabilities netCap = networkCapabilitiesForFeature (networkType , feature );
@@ -1220,7 +1218,6 @@ private boolean removeRequestForFeature(NetworkCapabilities netCap) {
12201218 * @deprecated Deprecated in favor of the
12211219 * {@link #requestNetwork(NetworkRequest, NetworkCallback)},
12221220 * {@link #bindProcessToNetwork} and {@link Network#getSocketFactory} API.
1223- * @removed
12241221 */
12251222 public boolean requestRouteToHost (int networkType , int hostAddress ) {
12261223 return requestRouteToHostAddress (networkType , NetworkUtils .intToInetAddress (hostAddress ));
@@ -1239,7 +1236,6 @@ public boolean requestRouteToHost(int networkType, int hostAddress) {
12391236 * @hide
12401237 * @deprecated Deprecated in favor of the {@link #requestNetwork} and
12411238 * {@link #bindProcessToNetwork} API.
1242- * @removed
12431239 */
12441240 public boolean requestRouteToHostAddress (int networkType , InetAddress hostAddress ) {
12451241 try {
0 commit comments