From 1454f63ad48f71ed367f82572953012c56c83781 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Fri, 28 Jul 2023 04:48:00 -0700 Subject: [PATCH] new release --- app/build.gradle | 2 +- app/src/main/java/asgardius/page/s3music/Settings.java | 1 + fastlane/metadata/android/en-US/changelogs/{10.txt => 11.txt} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename fastlane/metadata/android/en-US/changelogs/{10.txt => 11.txt} (100%) diff --git a/app/build.gradle b/app/build.gradle index 31f6ed7..baee14c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { applicationId "asgardius.page.s3music" minSdk 21 targetSdk 33 - versionCode 10 + versionCode 11 versionName "0.2.0" setProperty("archivesBaseName", "s3-music-$versionName") diff --git a/app/src/main/java/asgardius/page/s3music/Settings.java b/app/src/main/java/asgardius/page/s3music/Settings.java index 7be4ec7..26555c6 100644 --- a/app/src/main/java/asgardius/page/s3music/Settings.java +++ b/app/src/main/java/asgardius/page/s3music/Settings.java @@ -113,6 +113,7 @@ public class Settings extends AppCompatActivity { try { standaloneDatabaseProvider = new StandaloneDatabaseProvider(getApplicationContext()); SimpleCache.delete(new File(getApplicationContext().getFilesDir(), "media"), standaloneDatabaseProvider); + SimpleCache.delete(new File(getApplicationContext().getExternalFilesDirs(null)[getApplicationContext().getExternalFilesDirs(null).length-1], "media"), standaloneDatabaseProvider); standaloneDatabaseProvider.close(); Toast.makeText(getApplicationContext(),getResources().getString(R.string.clearcache_ok), Toast.LENGTH_SHORT).show(); } catch (Exception e) { diff --git a/fastlane/metadata/android/en-US/changelogs/10.txt b/fastlane/metadata/android/en-US/changelogs/11.txt similarity index 100% rename from fastlane/metadata/android/en-US/changelogs/10.txt rename to fastlane/metadata/android/en-US/changelogs/11.txt