am d18addb4: Remove deprecated TrafficStats API.

* commit 'd18addb4e3d0cd4da798dd35ad676d98465ebed3':
  Remove deprecated TrafficStats API.
This commit is contained in:
Jeff Sharkey
2011-09-13 21:12:39 -07:00
committed by Android Git Automerger
2 changed files with 0 additions and 9 deletions

View File

@@ -11779,7 +11779,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);
}