Skip to content

Instantly share code, notes, and snippets.

@kmdupr33
Created May 8, 2015 11:52
Show Gist options
  • Save kmdupr33/bee17bc98248e662f748 to your computer and use it in GitHub Desktop.
Save kmdupr33/bee17bc98248e662f748 to your computer and use it in GitHub Desktop.
Just showing onViewTranslatorStopped()
public void onViewTranslatorStopped() {
if (mInitStarred != mStarred) {
if (System.currentTimeMillis() < mSessionStart) {
CalendarSession calendarSession = new CalendarSession(mSessionUri, mSessionStart, mSessionEnd, mTitleString, mRoomName);
if (mStarred) {
mServiceStarter.startAddCalendarSessionService(mCalendarId, calendarSession);
} else {
mServiceStarter.startRemoveCalendarSessionService(mCalendarId, calendarSession);
}
}
if (mStarred) {
setupSessionNotification();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment