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

Commit f6957cd3 authored by Lucas Silva's avatar Lucas Silva Committed by Automerger Merge Worker
Browse files

Add JVM overloads to trace logger constructor am: 1e80b3b7

parents f0dbd596 1e80b3b7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -34,7 +34,9 @@ import android.util.Log
 * This creates a new slice in a perfetto trace only if the state is different than the previous
 * one.
 */
class TraceStateLogger(
class TraceStateLogger
@JvmOverloads
constructor(
    private val trackName: String,
    private val logOnlyIfDifferent: Boolean = true,
    private val instantEvent: Boolean = true,