public static void persistSentPatch(@NotNull String patchStr) { persistSentPatch(patchStr, UsageStatisticsPersistenceComponent.getInstance()); }
@NotNull public static String getStringPatch(@NotNull Set<String> disabledGroups, Project... project) { return getStringPatch( disabledGroups, project, UsageStatisticsPersistenceComponent.getInstance(), 0); }
public static boolean isSendAllowed() { if (ApplicationManagerEx.getApplicationEx().isInternal()) return true; // todo remove return isSendAllowed(UsageStatisticsPersistenceComponent.getInstance()); }
public static boolean showNotification() { return UsageStatisticsPersistenceComponent.getInstance().isShowNotification() && (System.currentTimeMillis() - Time.DAY > ((FeatureUsageTrackerImpl) FeatureUsageTracker.getInstance()).getFirstRunTime()); }
public static void updateSentTime() { UsageStatisticsPersistenceComponent.getInstance().setSentTime(System.currentTimeMillis()); }
public static boolean isSendAllowed() { return isSendAllowed(UsageStatisticsPersistenceComponent.getInstance()); }
public static boolean isTimeToSend() { return isTimeToSend(UsageStatisticsPersistenceComponent.getInstance()); }