new release

This commit is contained in:
Page Asgardius 2023-07-28 04:48:00 -07:00
parent 03b5f4f19a
commit 1454f63ad4
3 changed files with 2 additions and 1 deletions

View file

@ -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")

View file

@ -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) {