Remove tokens from logs
This commit is contained in:
parent
fed27ca4fc
commit
17ba764518
@ -84,10 +84,10 @@ object ApiUtils {
|
||||
}
|
||||
|
||||
override fun onNext(response: ApiResponse) {
|
||||
val deviceIdentifier: String = response.deviceId
|
||||
Log.d(TAG, "Device Identifier: $deviceIdentifier")
|
||||
saveDeviceId(context, deviceIdentifier)
|
||||
deviceId = deviceIdentifier
|
||||
response.deviceId.let {
|
||||
saveDeviceId(context, it)
|
||||
deviceId = it
|
||||
}
|
||||
}
|
||||
|
||||
override fun onError(e: Throwable) {
|
||||
@ -105,7 +105,7 @@ object ApiUtils {
|
||||
})
|
||||
} else {
|
||||
// Sync directly
|
||||
Log.d(TAG, "Found deviceId: $deviceId")
|
||||
Log.d(TAG, "Found saved deviceId")
|
||||
deviceId?.let {
|
||||
cSync(context, it)
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ object DistributorUtils {
|
||||
val db = getDb(context)
|
||||
val app = db.getPackageName(connectorToken)
|
||||
return if (app.isBlank()) {
|
||||
Log.w(TAG, "No app found for $connectorToken")
|
||||
Log.w(TAG, "No app found for this token")
|
||||
null
|
||||
} else {
|
||||
app
|
||||
|
@ -76,7 +76,7 @@ class RegisterBroadcastReceiver : BroadcastReceiver() {
|
||||
sendEndpoint(context.applicationContext, connectorToken)
|
||||
}
|
||||
} else {
|
||||
Log.d(TAG, "Already registering $connectorToken")
|
||||
Log.d(TAG, "Already registering this token")
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -101,7 +101,7 @@ class RegisterBroadcastReceiver : BroadcastReceiver() {
|
||||
Log.d(TAG, "Could not delete app")
|
||||
}
|
||||
} else {
|
||||
Log.d(TAG, "Already deleting $connectorToken")
|
||||
Log.d(TAG, "Already deleting this token")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user