Example #1
0
  private boolean isDailyRevenueAvailable() {
    if (Utils.getHourOfDay() < 11) {
      return false;
    }

    return !mIsDailyRevenueShowed && mLastVisitDayCount - Utils.getDayOfMonth() > 0;
  }
Example #2
0
  private boolean isLivesRestored() {
    if (Utils.getHourOfDay() < 11) {
      return false;
    }

    return !mIsFullLivesNotification && System.currentTimeMillis() >= mLastLiveRestoreTime;
  }