Skip to content

Commit

Permalink
fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
pyricau committed May 1, 2024
1 parent 6a8a197 commit d493e63
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -85,7 +85,7 @@ class MainActivity : Activity() {
}
findViewById<Button>(R.id.message_leak_button).setOnClickListener {
val leaky = Any()
AppWatcher.objectWatcher.expectDeletionFor(leaky, "Repeated Message")
AppWatcher.objectWatcher.expectWeaklyReachable(leaky, "Repeated Message")
@Suppress("unused")
class LeakyReschedulingRunnable(private val leaky: Any) : Runnable {
private val handler = Handler(Looper.getMainLooper())
Expand Down

0 comments on commit d493e63

Please sign in to comment.