-
public class LeakCanaryProcessUsed to determine whether the current process is the LeakCanary analyzer process. By depending on the
leakcanary-android-processartifact instead of theleakcanary-android, LeakCanary will automatically run its analysis in a separate process.As such, you'll need to be careful to do any custom configuration of LeakCanary in both the main process and the analyzer process.
-
-
Field Summary
Fields Modifier and Type Field Description public final static LeakCanaryProcessINSTANCE
-
Method Summary
Modifier and Type Method Description final BooleanisInAnalyzerProcess(Context context)Whether the current process is the process running the heap analyzer, which is a different process than the normal app process. -
-
Method Detail
-
isInAnalyzerProcess
final Boolean isInAnalyzerProcess(Context context)
Whether the current process is the process running the heap analyzer, which is a different process than the normal app process.
-
-
-
-