changes to allow attaching any type of file. mainly for video and audio attachments but nothing to stop any type of file being attached

This commit is contained in:
gavine99
2025-01-26 16:57:36 +11:00
parent 33347fa157
commit 314704a61a
27 changed files with 505 additions and 197 deletions
@@ -143,6 +143,11 @@ public class RetryScheduler implements Observer {
case PduHeaders.RESPONSE_STATUS_ERROR_PERMANENT_MESSAGE_NOT_FOUND:
errorString = R.string.service_message_not_found;
break;
case PduHeaders.RESPONSE_STATUS_ERROR_CONTENT_NOT_ACCEPTED:
case PduHeaders.RESPONSE_STATUS_ERROR_PERMANENT_CONTENT_NOT_ACCEPTED:
errorString = R.string.service_message_content_not_accepted;
break;
}
if (errorString != 0) {
DownloadManager.init(mContext.getApplicationContext());
@@ -20,6 +20,7 @@ limitations under the License.
<string name="invalid_destination">Invalid destination address.</string>
<string name="service_not_activated">Service not activated on network.</string>
<string name="service_message_not_found">Message expired or not available.</string>
<string name="service_message_content_not_accepted">Message content is not accepted.</string>
<string name="service_network_problem">Couldn\'t send due to network problem.</string>
<string name="message_queued">Currently can\'t send your message. It will be sent when the service becomes available.</string>
<string name="download_later">Can\'t download right now. Try again later.</string>