Skip to content
🤔 Documentation issue? Report it

//leakcanary/leakcanary/LeakCanary/showLeakDisplayActivityLauncherIcon

showLeakDisplayActivityLauncherIcon

fun showLeakDisplayActivityLauncherIcon(showLauncherIcon: Boolean)

Dynamically shows / hides the launcher icon for the leak display activity. Note: you can change the default value by overriding the leak_canary_add_launcher_icon boolean resource:

<?xml version="1.0" encoding="utf-8"?>\ <resources>\ <bool name="leak_canary_add_launcher_icon">false</bool>\ </resources>