diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-05-19 01:30:09 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-05-19 01:33:06 +0530 |
commit | 24ded8070f0c584b80ce692c41fc56e52a3ab315 (patch) | |
tree | 99365f2ede7b0b9a9a091b3b88fc71f6d9bf720f /ui/src | |
parent | 24569a4c49daa0987ff48178bc8a97d1da66a1d8 (diff) |
build: upgrade AndroidX dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt | 2 |
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) |