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

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

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