Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8339831 authored by Edgar Arriaga's avatar Edgar Arriaga
Browse files

Imporve docs to state exception that can be thrown by tracing method

Bug: 314146094
Test: Grabbed a trace with a slice name longer than current max
Change-Id: I9bb678810c3dcebab9d726a59a79ea332ce562f8
parent bf392d59
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -445,6 +445,7 @@ public final class Trace {
     *
     * @param sectionName The name of the code section to appear in the trace.  This may be at
     *                    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)) {