Skip to content

Commit

Permalink
Add default to avoid change that breaks backward compat
Browse files Browse the repository at this point in the history
  • Loading branch information
pyricau committed May 1, 2024
1 parent d4f8909 commit 69c6eb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public abstract interface class leakcanary/InstallableWatcher {

public final class leakcanary/RootViewWatcher : leakcanary/InstallableWatcher {
public fun <init> (Lleakcanary/DeletableObjectReporter;Z)V
public synthetic fun <init> (Lleakcanary/DeletableObjectReporter;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun install ()V
public fun uninstall ()V
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import leakcanary.internal.friendly.mainHandler
*/
class RootViewWatcher(
private val deletableObjectReporter: DeletableObjectReporter,
private val watchDismissedDialogs: Boolean
private val watchDismissedDialogs: Boolean = false
) : InstallableWatcher {

private val listener = OnRootViewAddedListener { rootView ->
Expand Down

0 comments on commit 69c6eb6

Please sign in to comment.