IntercomRootActivity shown to be leaking with the Android Studio memory profiler. Steps to repro:
- Launch your app in debug, or attach debugger.
- Launch Intercom with a call Intercom.client().present(IntercomSpace.Home)
- Close Intercom completely.
- Go to Profiler->Memory then Capture heap dump. Android Studio should report IntercomRootActivity as leaking.
Alternatively, if you’re using LeakCanary, it will show over UI because it is detecting this leak.