From db66326f91288d3b65fad31c870f1e55311b0a40 Mon Sep 17 00:00:00 2001 From: WirelessAlien <121420261+WirelessAlien@users.noreply.github.com> Date: Fri, 8 Sep 2023 00:39:22 +0530 Subject: [PATCH] Bug Fix: OutOfMemoryError when unpacking large 7z archives #2 --- .idea/gradle.xml | 2 +- app/build.gradle | 17 ++-- app/src/main/AndroidManifest.xml | 6 +- .../java/com/wirelessalien/zipxtract/App.kt | 13 +++ .../wirelessalien/zipxtract/MainActivity.kt | 77 +++++++++++++----- app/src/main/res/layout/activity_main.xml | 16 +++- .../res/mipmap-anydpi-v26/ic_launcher.xml | 5 +- .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 -- app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3126 bytes app/src/main/res/mipmap-hdpi/ic_launcher.webp | Bin 1404 -> 0 bytes .../mipmap-hdpi/ic_launcher_background.png | Bin 0 -> 854 bytes .../mipmap-hdpi/ic_launcher_foreground.png | Bin 0 -> 2538 bytes .../mipmap-hdpi/ic_launcher_monochrome.png | Bin 0 -> 2453 bytes .../res/mipmap-hdpi/ic_launcher_round.webp | Bin 2898 -> 0 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 1754 bytes app/src/main/res/mipmap-mdpi/ic_launcher.webp | Bin 982 -> 0 bytes .../mipmap-mdpi/ic_launcher_background.png | Bin 0 -> 462 bytes .../mipmap-mdpi/ic_launcher_foreground.png | Bin 0 -> 1517 bytes .../mipmap-mdpi/ic_launcher_monochrome.png | Bin 0 -> 1439 bytes .../res/mipmap-mdpi/ic_launcher_round.webp | Bin 1772 -> 0 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 4417 bytes .../main/res/mipmap-xhdpi/ic_launcher.webp | Bin 1900 -> 0 bytes .../mipmap-xhdpi/ic_launcher_background.png | Bin 0 -> 1319 bytes .../mipmap-xhdpi/ic_launcher_foreground.png | Bin 0 -> 3649 bytes .../mipmap-xhdpi/ic_launcher_monochrome.png | Bin 0 -> 3510 bytes .../res/mipmap-xhdpi/ic_launcher_round.webp | Bin 3918 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 7511 bytes .../main/res/mipmap-xxhdpi/ic_launcher.webp | Bin 2884 -> 0 bytes .../mipmap-xxhdpi/ic_launcher_background.png | Bin 0 -> 2951 bytes .../mipmap-xxhdpi/ic_launcher_foreground.png | Bin 0 -> 6644 bytes .../mipmap-xxhdpi/ic_launcher_monochrome.png | Bin 0 -> 6370 bytes .../res/mipmap-xxhdpi/ic_launcher_round.webp | Bin 5914 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 11052 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.webp | Bin 3844 -> 0 bytes .../mipmap-xxxhdpi/ic_launcher_background.png | Bin 0 -> 4234 bytes .../mipmap-xxxhdpi/ic_launcher_foreground.png | Bin 0 -> 9532 bytes .../mipmap-xxxhdpi/ic_launcher_monochrome.png | Bin 0 -> 9113 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.webp | Bin 7778 -> 0 bytes app/src/main/res/values-night/themes.xml | 45 ++++++---- app/src/main/res/values/colors.xml | 72 ++++++++++++++-- app/src/main/res/values/themes.xml | 45 ++++++---- 41 files changed, 221 insertions(+), 82 deletions(-) create mode 100644 app/src/main/java/com/wirelessalien/zipxtract/App.kt delete mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_background.png create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png delete mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_background.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png delete mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_background.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png delete mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png delete mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png delete mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 63d7807..7b46144 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -7,7 +7,7 @@