updating commons and room

This commit is contained in:
tibbi 2023-07-19 16:52:20 +02:00
parent 0c5242df2d
commit fd65d26f8f
2 changed files with 5 additions and 8 deletions

View File

@ -63,7 +63,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:57a5db1ef3' implementation 'com.github.SimpleMobileTools:Simple-Commons:8814cd2d4b'
implementation 'org.greenrobot:eventbus:3.3.1' implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'com.github.tibbi:android-smsmms:5657799572' implementation 'com.github.tibbi:android-smsmms:5657799572'
@ -72,7 +72,7 @@ dependencies {
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3' implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
implementation 'androidx.lifecycle:lifecycle-process:2.5.1' implementation 'androidx.lifecycle:lifecycle-process:2.5.1'
kapt "androidx.room:room-compiler:2.5.1" kapt "androidx.room:room-compiler:2.5.2"
implementation "androidx.room:room-runtime:2.5.1" implementation "androidx.room:room-runtime:2.5.2"
annotationProcessor "androidx.room:room-compiler:2.5.1" annotationProcessor "androidx.room:room-compiler:2.5.2"
} }

View File

@ -10,11 +10,9 @@ import android.graphics.BitmapFactory
import android.graphics.drawable.LayerDrawable import android.graphics.drawable.LayerDrawable
import android.media.MediaMetadataRetriever import android.media.MediaMetadataRetriever
import android.net.Uri import android.net.Uri
import android.os.Build
import android.os.Bundle import android.os.Bundle
import android.provider.ContactsContract import android.provider.ContactsContract
import android.provider.MediaStore import android.provider.MediaStore
import android.provider.Settings.ACTION_REQUEST_SCHEDULE_EXACT_ALARM
import android.provider.Telephony import android.provider.Telephony
import android.provider.Telephony.Sms.MESSAGE_TYPE_QUEUED import android.provider.Telephony.Sms.MESSAGE_TYPE_QUEUED
import android.provider.Telephony.Sms.STATUS_NONE import android.provider.Telephony.Sms.STATUS_NONE
@ -80,7 +78,6 @@ import org.joda.time.DateTime
import java.io.File import java.io.File
import java.io.InputStream import java.io.InputStream
import java.io.OutputStream import java.io.OutputStream
import java.security.acl.Permission
class ThreadActivity : SimpleActivity() { class ThreadActivity : SimpleActivity() {
private val MIN_DATE_TIME_DIFF_SECS = 300 private val MIN_DATE_TIME_DIFF_SECS = 300
@ -1171,7 +1168,7 @@ class ThreadActivity : SimpleActivity() {
contacts = arrayListOf(contact), contacts = arrayListOf(contact),
showExportingToast = false, showExportingToast = false,
) { ) {
if (it == VcfExporter.ExportResult.EXPORT_OK) { if (it == ExportResult.EXPORT_OK) {
val vCardUri = getMyFileUri(outputFile) val vCardUri = getMyFileUri(outputFile)
runOnUiThread { runOnUiThread {
addAttachment(vCardUri) addAttachment(vCardUri)