summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-11-21 00:42:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-21 00:42:47 +0000
commit00326a8902337d68aa44372cd06cc09602e855d0 (patch)
tree234a30e0da3b83d0885277df23cfde52a10037a7
parent2b30cd28ea4baac9d2e92b160ef6e50cb9958709 (diff)
parent739620f26f012863494ef6cf3345a69cebdeed05 (diff)
Merge "Update UntaggedSocketViolation StrictMode message to reference TrafficStats.setThreadStatsTag instead of the erroneous TrafficStats.setThreadSocketTag."
-rw-r--r--core/java/android/os/strictmode/UntaggedSocketViolation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/os/strictmode/UntaggedSocketViolation.java b/core/java/android/os/strictmode/UntaggedSocketViolation.java
index 3b1ef253b2d2..c34d6e821f7a 100644
--- a/core/java/android/os/strictmode/UntaggedSocketViolation.java
+++ b/core/java/android/os/strictmode/UntaggedSocketViolation.java
@@ -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");
}
}