public boolean isMonitorDurationEnd() {
        long startTime =
                PreferenceManager.getDefaultSharedPreferences(BlockCanaryContext.get().provideContext())
                        .getLong("BlockCanary_StartTime", 0);
        return startTime != 0 && System.currentTimeMillis() - startTime >
                BlockCanaryContext.get().provideMonitorDuration() * 3600 * 1000;
    }
Is monitor duration end, compute from recordStartTime end provideMonitorDuration.

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