Fix method names/visibility
This commit is contained in:
parent
d3073be89a
commit
3c4ad91614
1 changed files with 4 additions and 4 deletions
|
@ -236,13 +236,13 @@ public class AttachmentView extends FrameLayout implements OnClickListener, OnLo
|
||||||
out.flush();
|
out.flush();
|
||||||
out.close();
|
out.close();
|
||||||
in.close();
|
in.close();
|
||||||
attachmentSaved(file.toString());
|
displayAttachmentSavedMessage(file.toString());
|
||||||
new MediaScannerNotifier(context, file);
|
new MediaScannerNotifier(context, file);
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
if (K9.DEBUG) {
|
if (K9.DEBUG) {
|
||||||
Log.e(K9.LOG_TAG, "Error saving attachment", ioe);
|
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);
|
String message = context.getString(R.string.message_view_status_attachment_saved, filename);
|
||||||
displayMessageToUser(message);
|
displayMessageToUser(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void attachmentNotSaved() {
|
private void displayAttachmentNotSavedMessage() {
|
||||||
String message = context.getString(R.string.message_view_status_attachment_not_saved);
|
String message = context.getString(R.string.message_view_status_attachment_not_saved);
|
||||||
displayMessageToUser(message);
|
displayMessageToUser(message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue