diff options
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/context/App.kt | 2 | ||||
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/context/StorageMigrator.kt (renamed from app/src/main/java/org/pacien/tincapp/context/ConfigurationDirectoryMigrator.kt) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/context/App.kt b/app/src/main/java/org/pacien/tincapp/context/App.kt index d825d78..35e6d09 100644 --- a/app/src/main/java/org/pacien/tincapp/context/App.kt +++ b/app/src/main/java/org/pacien/tincapp/context/App.kt | |||
@@ -47,7 +47,7 @@ class App : Application() { | |||
47 | logger.info("Starting tinc app {} ({} build), running on {} ({})", | 47 | logger.info("Starting tinc app {} ({} build), running on {} ({})", |
48 | BuildConfig.VERSION_NAME, BuildConfig.BUILD_TYPE, Build.VERSION.CODENAME, Build.VERSION.RELEASE) | 48 | BuildConfig.VERSION_NAME, BuildConfig.BUILD_TYPE, Build.VERSION.CODENAME, Build.VERSION.RELEASE) |
49 | 49 | ||
50 | ConfigurationDirectoryMigrator().migrate() | 50 | StorageMigrator().migrate() |
51 | } | 51 | } |
52 | 52 | ||
53 | private fun setupCrashHandler(logger: Logger) { | 53 | private fun setupCrashHandler(logger: Logger) { |
diff --git a/app/src/main/java/org/pacien/tincapp/context/ConfigurationDirectoryMigrator.kt b/app/src/main/java/org/pacien/tincapp/context/StorageMigrator.kt index ea0b7d8..de8009c 100644 --- a/app/src/main/java/org/pacien/tincapp/context/ConfigurationDirectoryMigrator.kt +++ b/app/src/main/java/org/pacien/tincapp/context/StorageMigrator.kt | |||
@@ -27,7 +27,7 @@ import java.io.IOException | |||
27 | * | 27 | * |
28 | * @author pacien | 28 | * @author pacien |
29 | */ | 29 | */ |
30 | class ConfigurationDirectoryMigrator { | 30 | class StorageMigrator { |
31 | private val log by lazy { LoggerFactory.getLogger(this.javaClass)!! } | 31 | private val log by lazy { LoggerFactory.getLogger(this.javaClass)!! } |
32 | private val context by lazy { App.getContext() } | 32 | private val context by lazy { App.getContext() } |
33 | private val paths = AppPaths | 33 | private val paths = AppPaths |