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

This commit is contained in:
Treehugger Robot
2020-11-21 00:42:47 +00:00
committed by Gerrit Code Review

View File

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