getUuid() -> getAccountUuid()

This commit is contained in:
Jan Berkel 2014-12-14 15:26:38 +00:00
parent 12248bca92
commit bd697bb56d
5 changed files with 7 additions and 7 deletions

View file

@ -329,7 +329,7 @@ public class MessagingController implements Runnable {
long messageId = message.getId();
long folderId = message.getFolder().getId();
EmailProviderCache cache = EmailProviderCache.getCache(message.getFolder().getUuid(),
EmailProviderCache cache = EmailProviderCache.getCache(message.getFolder().getAccountUuid(),
mApplication.getApplicationContext());
return cache.isMessageHidden(messageId, folderId);
}

View file

@ -2434,7 +2434,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
displayFolderChoice(ACTIVITY_CHOOSE_FOLDER_MOVE, folder,
messages.get(0).getFolder().getUuid(), null,
messages.get(0).getFolder().getAccountUuid(), null,
messages);
}
@ -2463,7 +2463,7 @@ public class MessageListFragment extends Fragment implements OnItemClickListener
}
displayFolderChoice(ACTIVITY_CHOOSE_FOLDER_COPY, folder,
messages.get(0).getFolder().getUuid(),
messages.get(0).getFolder().getAccountUuid(),
null,
messages);
}

View file

@ -71,7 +71,7 @@ public class MessageHelper {
}
target.uid = message.getUid();
target.account = message.getFolder().getUuid();
target.account = message.getFolder().getAccountUuid();
target.uri = message.getUri();
} catch (MessagingException me) {
Log.w(K9.LOG_TAG, "Unable to load message info", me);

View file

@ -99,7 +99,7 @@ public class LocalFolder extends Folder<LocalMessage> implements Serializable {
return mFolderId;
}
public String getUuid()
public String getAccountUuid()
{
return getAccount().getUuid();
}
@ -1890,7 +1890,7 @@ public class LocalFolder extends Folder<LocalMessage> implements Serializable {
public Void doDbWork(final SQLiteDatabase db) throws WrappedException, UnavailableStorageException {
Cursor attachmentsCursor = null;
try {
String accountUuid = getUuid();
String accountUuid = getAccountUuid();
Context context = LocalFolder.this.localStore.mApplication;
// Get attachment IDs

View file

@ -573,7 +573,7 @@ public class LocalMessage extends MimeMessage {
mReference = new MessageReference();
mReference.folderName = getFolder().getName();
mReference.uid = mUid;
mReference.accountUuid = getFolder().getUuid();
mReference.accountUuid = getFolder().getAccountUuid();
}
return mReference;
}