mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Fix method names/visibility
This commit is contained in:
parent
d3073be89a
commit
3c4ad91614
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user