mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 12:57:12 +01:00
Version 4.3.0-beta1. Tweak the name of the backup file.
This commit is contained in:
parent
34a9cee965
commit
0724dc861a
@ -6,8 +6,8 @@ android {
|
|||||||
applicationId "ml.docilealligator.infinityforreddit"
|
applicationId "ml.docilealligator.infinityforreddit"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 60
|
versionCode 61
|
||||||
versionName "4.2.5"
|
versionName "4.3.0-beta1"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
javaCompileOptions {
|
javaCompileOptions {
|
||||||
annotationProcessorOptions {
|
annotationProcessorOptions {
|
||||||
|
@ -132,7 +132,7 @@ public class BackupSettings {
|
|||||||
boolean result = false;
|
boolean result = false;
|
||||||
try {
|
try {
|
||||||
String time = new SimpleDateFormat("yyyyMMdd-HHmmss").format(new Date(System.currentTimeMillis()));
|
String time = new SimpleDateFormat("yyyyMMdd-HHmmss").format(new Date(System.currentTimeMillis()));
|
||||||
String fileName = "Infinity_For_Reddit_Settings_Backup_v" + BuildConfig.VERSION_NAME + "-" + time + ".zip";
|
String fileName = "Infinity_For_Reddit_Settings_Backup_v" + BuildConfig.VERSION_NAME + "-" + BuildConfig.VERSION_CODE + "-" + time + ".zip";
|
||||||
String filePath = context.getExternalCacheDir() + "/Backup/" + fileName;
|
String filePath = context.getExternalCacheDir() + "/Backup/" + fileName;
|
||||||
ZipFile zip = new ZipFile(filePath, "123321".toCharArray());
|
ZipFile zip = new ZipFile(filePath, "123321".toCharArray());
|
||||||
ZipParameters zipParameters = new ZipParameters();
|
ZipParameters zipParameters = new ZipParameters();
|
||||||
|
Loading…
Reference in New Issue
Block a user