Skip to content

Commit 5e9dfbc

Browse files
committed
revert forgotten logging changes
1 parent 5fd93a3 commit 5e9dfbc

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

android/app/src/main/kotlin/com/yubico/authenticator/MainActivity.kt

-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ class MainActivity : FlutterFragmentActivity() {
278278
deviceManager.setDeviceInfo(deviceInfo)
279279

280280
if (deviceInfo == null) {
281-
logger.debug("Device info is null")
282281
return
283282
}
284283

android/app/src/main/kotlin/com/yubico/authenticator/oath/OathManager.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,10 @@ class OathManager(
135135

136136
refreshJob = coroutineScope.launch {
137137
val delayMs = earliest - now
138-
logger.debug("XXX Will execute refresh in {}ms", delayMs)
138+
logger.debug("Will execute refresh in {}ms", delayMs)
139139
if (delayMs > 0) {
140140
delay(delayMs)
141141
}
142-
logger.debug("XXX {}ms later will refresh!", delayMs)
143-
ensureActive()
144142
val currentState = lifecycleOwner.lifecycle.currentState
145143
if (currentState.isAtLeast(Lifecycle.State.STARTED)) {
146144
requestRefresh()

0 commit comments

Comments
 (0)