Fix download splitter potentially throwing OOM on huge images (#7099)

* Fix download splitter potentially throwing OOM on huge images

Also move the splitting to ImageUtil

* Change variable name and logcat output
This commit is contained in:
FourTOne5
2022-05-11 03:06:18 +06:00
committed by GitHub
parent e7ed130f2a
commit 9f655e0d41
4 changed files with 90 additions and 66 deletions

View File

@@ -815,6 +815,7 @@
<string name="download_notifier_download_paused">Download paused</string>
<string name="download_notifier_download_finish">Download completed</string>
<string name="download_notifier_split_page_not_found">Page %d not found while splitting</string>
<string name="download_notifier_split_page_path_not_found">Couldn\'t find file path of page %d</string>
<!-- Notification channels -->
<string name="channel_common">Common</string>