mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-08 10:08:51 -06:00
Large tests: Make compatible with API 27
This commit is contained in:
@@ -110,7 +110,7 @@ fun Activity.showMessage(msg: String) {
|
||||
fun Activity.showSendFileScreen(archiveFilename: String) {
|
||||
val file = File(archiveFilename)
|
||||
val fileUri = FileProvider.getUriForFile(this, "org.isoron.uhabits", file)
|
||||
this.startActivity(
|
||||
this.startActivitySafely(
|
||||
Intent().apply {
|
||||
action = Intent.ACTION_SEND
|
||||
type = "application/zip"
|
||||
|
||||
Reference in New Issue
Block a user