summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build.gradle12
-rw-r--r--ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt2
2 files changed, 7 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index 6b1606fd..4e1c65dc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,18 +1,18 @@
buildscript {
ext {
- activityVersion = '1.2.2'
- agpVersion = '4.2.0'
+ activityVersion = '1.2.3'
+ agpVersion = '4.2.1'
annotationsVersion = '1.2.0'
- appcompatVersion = '1.2.0'
+ appcompatVersion = '1.3.0'
biometricVersion = '1.1.0'
collectionVersion = '1.1.0'
constraintLayoutVersion = '2.0.4'
coordinatorLayoutVersion = '1.1.0'
- coreKtxVersion = '1.3.2'
- coroutinesVersion = '1.4.3'
+ coreKtxVersion = '1.5.0'
+ coroutinesVersion = '1.5.0'
datastoreVersion = '1.0.0-beta01'
desugarVersion = '1.0.10'
- fragmentVersion = '1.3.3'
+ fragmentVersion = '1.3.4'
jsr305Version = '3.0.2'
junitVersion = '4.13.2'
kotlinVersion = '1.5.0'
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)