Add default implementation to SessionListener
This commit is contained in:
committed by
Benoit Marty
parent
9ca5fbdc08
commit
a18eb6eb5e
-2
@@ -77,8 +77,6 @@ class DefaultLockScreenService(
|
||||
*/
|
||||
private fun observeSessionsState() {
|
||||
sessionObserver.addListener(object : SessionListener {
|
||||
override suspend fun onSessionCreated(userId: String) = Unit
|
||||
|
||||
override suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) {
|
||||
// TODO handle multi session at some point
|
||||
pinCodeManager.deletePinCode()
|
||||
|
||||
Reference in New Issue
Block a user