Esempio n. 1
0
  private boolean isLivesRestored() {
    if (Utils.getHourOfDay() < 11) {
      return false;
    }

    return !mIsFullLivesNotification && System.currentTimeMillis() >= mLastLiveRestoreTime;
  }
Esempio n. 2
0
  private boolean isDailyRevenueAvailable() {
    if (Utils.getHourOfDay() < 11) {
      return false;
    }

    return !mIsDailyRevenueShowed && mLastVisitDayCount - Utils.getDayOfMonth() > 0;
  }