Skip to content

Commit

Permalink
Update lifecycle code
Browse files Browse the repository at this point in the history
fix after a rebase
  • Loading branch information
p1gp1g committed Feb 25, 2024
1 parent c81e268 commit 349a3d8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Fido2AppService : BaseService(TAG, FIDO2_REGULAR) {
}
}

class Fido2AppServiceImpl(private val context: Context, private val lifecycle: Lifecycle) :
class Fido2AppServiceImpl(private val context: Context, override val lifecycle: Lifecycle) :
IFido2AppService.Stub(), LifecycleOwner {
override fun getRegisterPendingIntent(callbacks: IFido2AppCallbacks, options: PublicKeyCredentialCreationOptions) {
lifecycleScope.launchWhenStarted {
Expand Down Expand Up @@ -94,8 +94,6 @@ class Fido2AppServiceImpl(private val context: Context, private val lifecycle: L
}
}

override fun getLifecycle(): Lifecycle = lifecycle

override fun onTransact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean =
warnOnTransactionIssues(code, reply, flags, TAG) { super.onTransact(code, data, reply, flags) }
}

0 comments on commit 349a3d8

Please sign in to comment.