From 9fb9732e85068661c51a2b5a2b02de68a6af5200 Mon Sep 17 00:00:00 2001 From: Lucas Lima Date: Sun, 11 Oct 2020 20:13:05 -0300 Subject: [PATCH] Fix foss build --- .../dev/lucasnlm/external/CloudStorageManager.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 foss/src/main/java/dev/lucasnlm/external/CloudStorageManager.kt diff --git a/foss/src/main/java/dev/lucasnlm/external/CloudStorageManager.kt b/foss/src/main/java/dev/lucasnlm/external/CloudStorageManager.kt new file mode 100644 index 00000000..c5d1a2a9 --- /dev/null +++ b/foss/src/main/java/dev/lucasnlm/external/CloudStorageManager.kt @@ -0,0 +1,14 @@ +package dev.lucasnlm.external + +import dev.lucasnlm.external.model.CloudSave + +class CloudStorageManager : ICloudStorageManager { + override fun uploadSave(cloudSave: CloudSave) { + // FOSS build doesn't support cloud save. + } + + override suspend fun getSave(playId: String): CloudSave? { + // FOSS build doesn't support cloud save. + return null + } +}