diff options
| author | 2020-11-18 23:11:28 +0000 | |
|---|---|---|
| committer | 2020-11-18 23:23:50 +0000 | |
| commit | 739620f26f012863494ef6cf3345a69cebdeed05 (patch) | |
| tree | 106fcfe775d6c961b67d84716b3f32ed4b2cf975 | |
| parent | 2ba09b6747d2d04dafa4dd1f97a501319da4e7d6 (diff) | |
Update UntaggedSocketViolation StrictMode message to reference TrafficStats.setThreadStatsTag instead of the erroneous TrafficStats.setThreadSocketTag.
Bug: 143923100
Change-Id: I1a4f75d7e3fff538d418a956b8eead79bc0b3e55
| -rw-r--r-- | core/java/android/os/strictmode/UntaggedSocketViolation.java | 2 |
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"); } } |