Use internal Log implementation everywhere.

This commit is contained in:
Anton Chekulaev 2020-12-03 17:52:41 +11:00
parent 9afb32d3a2
commit a94273fdfc
15 changed files with 15 additions and 15 deletions

View File

@ -29,7 +29,7 @@ import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Build.VERSION;
import android.os.Bundle;
import android.util.Log;
import org.thoughtcrime.securesms.logging.Log;
import android.widget.Toast;
import androidx.annotation.Nullable;

View File

@ -1,7 +1,7 @@
package org.thoughtcrime.securesms.jobs;
import androidx.annotation.NonNull;
import android.util.Log;
import org.thoughtcrime.securesms.logging.Log;
import org.thoughtcrime.securesms.ApplicationContext;
import org.thoughtcrime.securesms.crypto.UnidentifiedAccessUtil;

View File

@ -2,7 +2,7 @@ package org.thoughtcrime.securesms.loki.api
import android.media.MediaDataSource
import android.os.Build
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import androidx.annotation.RequiresApi
import org.greenrobot.eventbus.EventBus
import org.thoughtcrime.securesms.attachments.Attachment

View File

@ -2,7 +2,7 @@ package org.thoughtcrime.securesms.loki.api
import android.content.Context
import android.os.Handler
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import androidx.annotation.WorkerThread
import nl.komponents.kovenant.Promise
import nl.komponents.kovenant.functional.bind

View File

@ -2,7 +2,7 @@ package org.thoughtcrime.securesms.loki.database
import android.content.ContentValues
import android.content.Context
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import org.thoughtcrime.securesms.database.Database
import org.thoughtcrime.securesms.database.helpers.SQLCipherOpenHelper
import org.thoughtcrime.securesms.loki.utilities.*

View File

@ -3,7 +3,7 @@ package org.thoughtcrime.securesms.loki.database
import android.content.ContentValues
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import org.thoughtcrime.securesms.database.Address
import org.thoughtcrime.securesms.database.Database
import org.thoughtcrime.securesms.database.helpers.SQLCipherOpenHelper

View File

@ -1,7 +1,7 @@
package org.thoughtcrime.securesms.loki.protocol
import android.content.Context
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import com.google.protobuf.ByteString
import nl.komponents.kovenant.Promise
import nl.komponents.kovenant.deferred

View File

@ -1,7 +1,7 @@
package org.thoughtcrime.securesms.loki.protocol
import android.content.Context
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import org.thoughtcrime.securesms.ApplicationContext
import org.thoughtcrime.securesms.crypto.IdentityKeyUtil
import org.thoughtcrime.securesms.crypto.PreKeyUtil

View File

@ -1,7 +1,7 @@
package org.thoughtcrime.securesms.loki.protocol.shelved
import android.content.Context
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import nl.komponents.kovenant.Promise
import org.thoughtcrime.securesms.ApplicationContext
import org.thoughtcrime.securesms.crypto.IdentityKeyUtil

View File

@ -1,7 +1,7 @@
package org.thoughtcrime.securesms.loki.protocol.shelved
import android.content.Context
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import androidx.annotation.WorkerThread
import org.thoughtcrime.securesms.ApplicationContext
import org.thoughtcrime.securesms.contacts.ContactAccessor.ContactData

View File

@ -5,7 +5,7 @@ import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import androidx.localbroadcastmanager.content.LocalBroadcastManager
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import com.opencsv.CSVReader
import org.session.libsignal.service.loki.api.onionrequests.OnionRequestAPI
import java.io.File

View File

@ -1,7 +1,7 @@
@file:JvmName("PromiseUtilities")
package org.thoughtcrime.securesms.loki.utilities
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import nl.komponents.kovenant.Promise
import nl.komponents.kovenant.deferred
import java.util.concurrent.TimeoutException

View File

@ -7,7 +7,7 @@ import android.net.Uri
import android.os.Build
import android.os.Environment
import android.provider.DocumentsContract
import android.util.Log
import org.thoughtcrime.securesms.logging.Log
import android.widget.Toast
import androidx.annotation.WorkerThread
import androidx.documentfile.provider.DocumentFile

View File

@ -8,7 +8,7 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import android.os.SystemClock;
import android.util.Log;
import org.thoughtcrime.securesms.logging.Log;
import org.session.libsignal.service.api.util.SleepTimer;

View File

@ -10,7 +10,7 @@ import androidx.annotation.NonNull;
import androidx.annotation.StyleRes;
import androidx.appcompat.view.ContextThemeWrapper;
import android.util.Log;
import org.thoughtcrime.securesms.logging.Log;
import android.util.TypedValue;
import android.view.LayoutInflater;