private static void setEnabled(Context context,
                                   final Class<?> componentClass,
                                   final boolean enabled) {
        final Context appContext = context.getApplicationContext();
        executeOnFileIoThread(new Runnable() {
            @Override
            public void run() {
                setEnabledBlocking(appContext, componentClass, enabled);
            }
        });
    }
Is monitor duration end, compute from recordStartTime end provideMonitorDuration.

@return true if ended
blockcanary-android/src/main/java/com/github/moduth/blockcanary/BlockCanary.java