mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
getUuid() -> getAccountUuid()
This commit is contained in:
parent
12248bca92
commit
bd697bb56d
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user