Remove deprecated TrafficStats API.

Bug: 5314214
Change-Id: If7dc3ef012a0e998e83ab4fef27ff19398d3e14c
This commit is contained in:
Jeff Sharkey
2011-09-13 20:22:15 -07:00
parent aab55bf3e3
commit d18addb4e3
2 changed files with 0 additions and 9 deletions

View File

@ -11765,7 +11765,6 @@ package android.net {
method public static void incrementOperationCount(int);
method public static void incrementOperationCount(int, int);
method public static void setThreadStatsTag(int);
method public static deprecated void setThreadStatsTag(java.lang.String);
method public static void tagSocket(java.net.Socket) throws java.net.SocketException;
method public static void untagSocket(java.net.Socket) throws java.net.SocketException;
field public static final int UNSUPPORTED = -1; // 0xffffffff

View File

@ -104,14 +104,6 @@ public class TrafficStats {
return NetworkManagementSocketTagger.getThreadSocketStatsTag();
}
/**
* @deprecated unsupported, will eventually be removed
*/
@Deprecated
public static void setThreadStatsTag(String tag) {
setThreadStatsTag(tag.hashCode());
}
public static void clearThreadStatsTag() {
NetworkManagementSocketTagger.setThreadSocketStatsTag(-1);
}