summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/java/com/wireguard/android
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-05-19 01:30:09 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-05-19 01:33:06 +0530
commit24ded8070f0c584b80ce692c41fc56e52a3ab315 (patch)
tree99365f2ede7b0b9a9a091b3b88fc71f6d9bf720f /ui/src/main/java/com/wireguard/android
parent24569a4c49daa0987ff48178bc8a97d1da66a1d8 (diff)
build: upgrade AndroidX dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/java/com/wireguard/android')
-rw-r--r--ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
index e13184f9..1b54997f 100644
--- a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
+++ b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
@@ -114,7 +114,7 @@ class LogViewerActivity : AppCompatActivity() {
val key = KeyPair().privateKey.toHex()
LOGS[key] = rawLogLines.toString().toByteArray(Charsets.UTF_8)
lastUri = Uri.parse("content://${BuildConfig.APPLICATION_ID}.exported-log/$key")
- val shareIntent = ShareCompat.IntentBuilder.from(this)
+ val shareIntent = ShareCompat.IntentBuilder(this)
.setType("text/plain")
.setSubject(getString(R.string.log_export_subject))
.setStream(lastUri)