Update UntaggedSocketViolation StrictMode message to reference TrafficStats.setThreadStatsTag instead of the erroneous TrafficStats.setThreadSocketTag.

Bug: 143923100

Change-Id: I1a4f75d7e3fff538d418a956b8eead79bc0b3e55
This commit is contained in:
Alexander Zlatin
2020-11-18 23:11:28 +00:00
parent 2ba09b6747
commit 739620f26f

View File

@@ -18,7 +18,7 @@ package android.os.strictmode;
public final class UntaggedSocketViolation extends Violation {
/** @hide */
public UntaggedSocketViolation() {
super("Untagged socket detected; use TrafficStats.setThreadSocketTag() to "
super("Untagged socket detected; use TrafficStats.setTrafficStatsTag() to "
+ "track all network usage");
}
}