build: upgrade AndroidX dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-05-19 01:30:09 +05:30
parent 24569a4c49
commit 24ded8070f
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
2 changed files with 7 additions and 7 deletions

View File

@ -1,18 +1,18 @@
buildscript { buildscript {
ext { ext {
activityVersion = '1.2.2' activityVersion = '1.2.3'
agpVersion = '4.2.0' agpVersion = '4.2.1'
annotationsVersion = '1.2.0' annotationsVersion = '1.2.0'
appcompatVersion = '1.2.0' appcompatVersion = '1.3.0'
biometricVersion = '1.1.0' biometricVersion = '1.1.0'
collectionVersion = '1.1.0' collectionVersion = '1.1.0'
constraintLayoutVersion = '2.0.4' constraintLayoutVersion = '2.0.4'
coordinatorLayoutVersion = '1.1.0' coordinatorLayoutVersion = '1.1.0'
coreKtxVersion = '1.3.2' coreKtxVersion = '1.5.0'
coroutinesVersion = '1.4.3' coroutinesVersion = '1.5.0'
datastoreVersion = '1.0.0-beta01' datastoreVersion = '1.0.0-beta01'
desugarVersion = '1.0.10' desugarVersion = '1.0.10'
fragmentVersion = '1.3.3' fragmentVersion = '1.3.4'
jsr305Version = '3.0.2' jsr305Version = '3.0.2'
junitVersion = '4.13.2' junitVersion = '4.13.2'
kotlinVersion = '1.5.0' kotlinVersion = '1.5.0'

View File

@ -114,7 +114,7 @@ class LogViewerActivity : AppCompatActivity() {
val key = KeyPair().privateKey.toHex() val key = KeyPair().privateKey.toHex()
LOGS[key] = rawLogLines.toString().toByteArray(Charsets.UTF_8) LOGS[key] = rawLogLines.toString().toByteArray(Charsets.UTF_8)
lastUri = Uri.parse("content://${BuildConfig.APPLICATION_ID}.exported-log/$key") lastUri = Uri.parse("content://${BuildConfig.APPLICATION_ID}.exported-log/$key")
val shareIntent = ShareCompat.IntentBuilder.from(this) val shareIntent = ShareCompat.IntentBuilder(this)
.setType("text/plain") .setType("text/plain")
.setSubject(getString(R.string.log_export_subject)) .setSubject(getString(R.string.log_export_subject))
.setStream(lastUri) .setStream(lastUri)