Implement Storage Access Framework
* re-work finished mission database * re-work DownloadMission and bump it Serializable version * keep the classic Java IO API * SAF Tree API support on Android Lollipop or higher * add wrapper for SAF stream opening * implement Closeable in SharpStream to replace the dispose() method * do required changes for this API: ** remove any file creation logic from DownloadInitializer ** make PostProcessing Serializable and reduce the number of iterations ** update all strings.xml files ** storage helpers: StoredDirectoryHelper & StoredFileHelper ** best effort to handle any kind of SAF errors/exceptions
This commit is contained in:
parent
8d8059229f
commit
7ca7952790
62 changed files with 2439 additions and 1180 deletions
|
|
@ -440,11 +440,11 @@
|
|||
<string name="download_finished_more">%s tải về đã xong</string>
|
||||
<string name="generate_unique_name">Tạo tên riêng biệt</string>
|
||||
<string name="overwrite">Ghi đè</string>
|
||||
<string name="overwrite_warning">Có một tệp đã tải về trùng tên</string>
|
||||
<string name="overwrite_finished_warning">Có một tệp đã tải về trùng tên</string>
|
||||
<string name="download_already_running">Có một tệp trùng tên đang tải về</string>
|
||||
<string name="show_error">Hiện lỗi</string>
|
||||
<string name="error_path_creation">Không thể tạo tệp</string>
|
||||
<string name="error_file_creation">Không thể tạo thư mục đích</string>
|
||||
<string name="error_file_creation">Không thể tạo tệp</string>
|
||||
<string name="error_path_creation">Không thể tạo thư mục đích</string>
|
||||
<string name="error_permission_denied">Quyền bị từ chối bởi hệ thống</string>
|
||||
<string name="error_ssl_exception">Không thể tạo kết nối an toàn</string>
|
||||
<string name="error_unknown_host">Không thể tìm máy chủ</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue