Remove potential sensitive log
This commit is contained in:
parent
c712f25cca
commit
b093c7869b
|
@ -1,13 +1,11 @@
|
||||||
package org.unifiedpush.distributor.nextpush.utils
|
package org.unifiedpush.distributor.nextpush.utils
|
||||||
|
|
||||||
import android.util.Log
|
|
||||||
import java.util.Timer
|
import java.util.Timer
|
||||||
import kotlin.concurrent.schedule
|
import kotlin.concurrent.schedule
|
||||||
|
|
||||||
fun MutableList<String>.containsTokenElseAdd(connectorToken: String): Boolean {
|
fun MutableList<String>.containsTokenElseAdd(connectorToken: String): Boolean {
|
||||||
return synchronized(this) {
|
return synchronized(this) {
|
||||||
if (connectorToken !in this) {
|
if (connectorToken !in this) {
|
||||||
Log.d(TAG, "Token: $this")
|
|
||||||
this.add(connectorToken)
|
this.add(connectorToken)
|
||||||
delayRemove(this, connectorToken)
|
delayRemove(this, connectorToken)
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue