diff options
| author | Neil Fuller <nfuller@google.com> | 2015-11-24 18:19:06 +0000 |
|---|---|---|
| committer | Neil Fuller <nfuller@google.com> | 2015-11-26 13:33:48 +0000 |
| commit | bf0dc0fba790cf95f76870c37469703f8f20a57c (patch) | |
| tree | 85e107bd440377133319ea308c991b9ab442d959 /core/java/android/util/EventLog.java | |
| parent | 764e7960cd31f12223ac6cfe72257e2fd50c7f81 (diff) | |
Add thread safety documentation
An upcoming change will remove "synchronized" from the API docs. This change
documents those cases where the guarantees can be determined from code
inspection.
Bug: 25767152
Change-Id: I75083ce01513ed315222304fe3f34190d40748cb
Diffstat (limited to 'core/java/android/util/EventLog.java')
| -rw-r--r-- | core/java/android/util/EventLog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/util/EventLog.java b/core/java/android/util/EventLog.java index 558b8f558236..6bda83d2b315 100644 --- a/core/java/android/util/EventLog.java +++ b/core/java/android/util/EventLog.java @@ -52,7 +52,7 @@ public class EventLog { private static HashMap<String, Integer> sTagCodes = null; private static HashMap<Integer, String> sTagNames = null; - /** A previously logged event read from the logs. */ + /** A previously logged event read from the logs. Instances are thread safe. */ public static final class Event { private final ByteBuffer mBuffer; |
