1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-25 07:01:50 -05:00

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 messageId = message.getId();
long folderId = message.getFolder().getId(); long folderId = message.getFolder().getId();
EmailProviderCache cache = EmailProviderCache.getCache(message.getFolder().getUuid(), EmailProviderCache cache = EmailProviderCache.getCache(message.getFolder().getAccountUuid(),
mApplication.getApplicationContext()); mApplication.getApplicationContext());
return cache.isMessageHidden(messageId, folderId); return cache.isMessageHidden(messageId, folderId);
} }

View File

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

View File

@ -71,7 +71,7 @@ public class MessageHelper {
} }
target.uid = message.getUid(); target.uid = message.getUid();
target.account = message.getFolder().getUuid(); target.account = message.getFolder().getAccountUuid();
target.uri = message.getUri(); target.uri = message.getUri();
} catch (MessagingException me) { } catch (MessagingException me) {
Log.w(K9.LOG_TAG, "Unable to load message info", 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; return mFolderId;
} }
public String getUuid() public String getAccountUuid()
{ {
return getAccount().getUuid(); return getAccount().getUuid();
} }
@ -1890,7 +1890,7 @@ public class LocalFolder extends Folder<LocalMessage> implements Serializable {
public Void doDbWork(final SQLiteDatabase db) throws WrappedException, UnavailableStorageException { public Void doDbWork(final SQLiteDatabase db) throws WrappedException, UnavailableStorageException {
Cursor attachmentsCursor = null; Cursor attachmentsCursor = null;
try { try {
String accountUuid = getUuid(); String accountUuid = getAccountUuid();
Context context = LocalFolder.this.localStore.mApplication; Context context = LocalFolder.this.localStore.mApplication;
// Get attachment IDs // Get attachment IDs

View File

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