assert gif size constraints before OOMEs

fixes #3778
closes #3833
// FREEBIE
This commit is contained in:
Jake McGinty
2015-07-28 13:17:01 -07:00
committed by Moxie Marlinspike
parent c36c759c8b
commit a84dcf6a8e
8 changed files with 29 additions and 7 deletions

View File

@@ -98,6 +98,7 @@
<string name="ConversationActivity_select_contact_info">Select contact info</string>
<string name="ConversationActivity_compose_message">Compose message</string>
<string name="ConversationActivity_sorry_there_was_an_error_setting_your_attachment">Sorry, there was an error setting your attachment.</string>
<string name="ConversationActivity_the_gif_you_selected_was_too_big">The gif you selected was too big!</string>
<string name="ConversationActivity_sorry_the_selected_video_exceeds_message_size_restrictions">Sorry, the selected video exceeds message size restrictions (%1$skB).</string>
<string name="ConversationActivity_sorry_the_selected_audio_exceeds_message_size_restrictions">Sorry, the selected audio exceeds message size restrictions (%1$skB).</string>
<string name="ConversationActivity_recipient_is_not_a_valid_sms_or_email_address_exclamation">Recipient is not a valid SMS or email address!</string>