Properly handle dialog dismiss for SafetyNet

Fix #3103
This commit is contained in:
topjohnwu 2020-08-26 18:54:38 -07:00
parent ca1b0bf1ce
commit e394445f1b

View File

@ -123,6 +123,9 @@ class CheckSafetyNetEvent(
titleRes = android.R.string.cancel
onClick { callback(SafetyNetResult(dismiss = true)) }
}
.onDismiss {
callback(SafetyNetResult(dismiss = true))
}
.reveal()
}