Add a developer setting to enable LeakCanary at runtime #6786
Labels
A-DevX
Anything that can improve the DevX
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
Projects
Your use case
What would you like to do?
Introduce a new developer setting only visible in debug variant to be able to enable LeakCanary at runtime.
Why would you like to do it?
To perform memory leak analysis of the app on demand. We should be able to disable it as the analysis has an impact on the app performances.
How would you like to achieve it?
https://square.github.io/leakcanary/recipes/#disabling-leakcanary
Have you considered any alternatives?
No response
Additional context
No response
Are you willing to provide a PR?
Yes
The text was updated successfully, but these errors were encountered: