/** On destruction of ActivitiesEngine stop the timeline event watcher. */ @Override public void onDestroy() { mTimelineEventWatcher.stopWatching(); if (isContactSyncReady()) { EngineManager.getInstance().getLoginEngine().removeListener(this); } }
/** * onCreate. Instruct the timeline event watcher to start watching for native events the * Activities engine may need to handle (call and message events). */ @Override public void onCreate() { mTimelineEventWatcher.startWatching(); }