/** Start the vote phase */ private void startVotePeriod() { for (Participant p : poll.getParticipants().values()) { if (!p.hasAcceptedReview()) { for (int i = 0; i < 2; i++) Toast.makeText(this, R.string.toast_not_everybody_accepted, Toast.LENGTH_LONG).show(); return; } } poll.setStartTime(System.currentTimeMillis()); AndroidApplication.getInstance().getProtocolInterface().beginVotingPeriod(poll); }