Remove hint file.

This commit is contained in:
Alex Hart
2026-03-26 12:35:34 -03:00
parent 567bf0facc
commit d72c742ab6
2 changed files with 0 additions and 10 deletions

View File

@@ -27,7 +27,6 @@ import org.signal.core.util.androidx.DocumentFileUtil.newFile
import org.signal.core.util.androidx.DocumentFileUtil.outputStream import org.signal.core.util.androidx.DocumentFileUtil.outputStream
import org.signal.core.util.androidx.DocumentFileUtil.renameTo import org.signal.core.util.androidx.DocumentFileUtil.renameTo
import org.signal.core.util.logging.Log import org.signal.core.util.logging.Log
import org.thoughtcrime.securesms.R
import java.io.File import java.io.File
import java.io.IOException import java.io.IOException
import java.io.InputStream import java.io.InputStream
@@ -144,13 +143,6 @@ class ArchiveFileSystem private constructor(private val context: Context, root:
signalBackups = root.mkdirp(MAIN_DIRECTORY_NAME) ?: throw IOException("Unable to create main backups directory") signalBackups = root.mkdirp(MAIN_DIRECTORY_NAME) ?: throw IOException("Unable to create main backups directory")
val filesDirectory = signalBackups.mkdirp("files") ?: throw IOException("Unable to create files directory") val filesDirectory = signalBackups.mkdirp("files") ?: throw IOException("Unable to create files directory")
filesFileSystem = FilesFileSystem(context, filesDirectory) filesFileSystem = FilesFileSystem(context, filesDirectory)
val hintFileName = context.getString(R.string.ArchiveFileSystem__select_this_folder_hint_name)
if (!root.hasFile(hintFileName)) {
root.createFile("text/plain", hintFileName)
?.outputStream(context)
?.use { out -> out.write(context.getString(R.string.ArchiveFileSystem__select_this_folder_hint_body).toByteArray()) }
}
} }
} }

View File

@@ -4941,8 +4941,6 @@
<string name="BackupDialog_please_acknowledge_your_understanding_by_marking_the_confirmation_check_box">Please acknowledge your understanding by marking the confirmation check box.</string> <string name="BackupDialog_please_acknowledge_your_understanding_by_marking_the_confirmation_check_box">Please acknowledge your understanding by marking the confirmation check box.</string>
<string name="BackupDialog_delete_backups">Delete backups?</string> <string name="BackupDialog_delete_backups">Delete backups?</string>
<string name="BackupDialog_disable_and_delete_all_local_backups">Disable and delete all local backups?</string> <string name="BackupDialog_disable_and_delete_all_local_backups">Disable and delete all local backups?</string>
<string name="ArchiveFileSystem__select_this_folder_hint_name">Select this folder, not SignalBackups</string>
<string name="ArchiveFileSystem__select_this_folder_hint_body">When configuring Signal backup storage, select this folder — not the SignalBackups subfolder.</string>
<string name="BackupDialog_delete_backups_statement">Delete backups</string> <string name="BackupDialog_delete_backups_statement">Delete backups</string>
<!-- Progress dialog message shown while local backup files are being deleted --> <!-- Progress dialog message shown while local backup files are being deleted -->
<string name="BackupDialog_deleting_local_backup">Deleting local backup…</string> <string name="BackupDialog_deleting_local_backup">Deleting local backup…</string>