AndroidRefWatcherBuilder.watchActivities should be used instead.
We will make this class internal in the next major version.Reachability.Inspectors that knows about common AOSP and library
classes.RefWatcherBuilder with appropriate Android defaults.WatchExecutor suitable for watching Android reference leaks.RefWatcher instance and makes it available through LeakCanary.installedRefWatcher().DisplayLeakActivity.DisplayLeakActivity.RefWatcher that works out of the box, and starts watching activity
references (on ICS+).HeapAnalyzerService, which is
a different process than the normal app process.AbstractAnalysisResultService to listen to analysis results.AndroidRefWatcherBuilder.buildAndInstall().RefWatcher should wait until it checks if a
tracked object has been garbage collected.AndroidRefWatcherBuilder.buildAndInstall().