summaryrefslogtreecommitdiffhomepage
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
parent24569a4c49daa0987ff48178bc8a97d1da66a1d8 (diff)
build: upgrade AndroidX dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-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)