summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/os/Trace.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/os/Trace.java b/core/java/android/os/Trace.java
index 0d0d1da2fb7d..5d7e04d4ed26 100644
--- a/core/java/android/os/Trace.java
+++ b/core/java/android/os/Trace.java
@@ -444,7 +444,8 @@ public final class Trace {
* these characters they will be replaced with a space character in the trace.
*
* @param sectionName The name of the code section to appear in the trace. This may be at
- * most 127 Unicode code units long.
+ * most 127 Unicode code units long.
+ * @throws IllegalArgumentException if {@code sectionName} is too long.
*/
public static void beginSection(@NonNull String sectionName) {
if (isTagEnabled(TRACE_TAG_APP)) {