示例#1
0
 @Override
 public void setToken(String setting) {
   super.setToken(setting);
   if (TextUtils.isEmpty(setting)) {
     RemoteModelDao.setOutstandingEntryFlags(RemoteModelDao.OUTSTANDING_FLAG_UNINITIALIZED);
   } else {
     RemoteModelDao.setOutstandingEntryFlags(
         RemoteModelDao.OUTSTANDING_ENTRY_FLAG_ENQUEUE_MESSAGES
             | RemoteModelDao.OUTSTANDING_ENTRY_FLAG_RECORD_OUTSTANDING);
   }
 }
 @Override
 public void clearLastSyncDate() {
   super.clearLastSyncDate();
   Preferences.setInt(ActFmPreferenceService.PREF_SERVER_TIME, 0);
 }