1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Fix method names/visibility

This commit is contained in:
cketti 2014-10-20 21:24:18 -04:00
parent d3073be89a
commit 3c4ad91614

View File

@ -236,13 +236,13 @@ public class AttachmentView extends FrameLayout implements OnClickListener, OnLo
out.flush();
out.close();
in.close();
attachmentSaved(file.toString());
displayAttachmentSavedMessage(file.toString());
new MediaScannerNotifier(context, file);
} catch (IOException ioe) {
if (K9.DEBUG) {
Log.e(K9.LOG_TAG, "Error saving attachment", ioe);
}
attachmentNotSaved();
displayAttachmentNotSavedMessage();
}
}
@ -264,12 +264,12 @@ public class AttachmentView extends FrameLayout implements OnClickListener, OnLo
}
}
public void attachmentSaved(final String filename) {
private void displayAttachmentSavedMessage(final String filename) {
String message = context.getString(R.string.message_view_status_attachment_saved, filename);
displayMessageToUser(message);
}
public void attachmentNotSaved() {
private void displayAttachmentNotSavedMessage() {
String message = context.getString(R.string.message_view_status_attachment_not_saved);
displayMessageToUser(message);
}