Rollback to fix bug after orientation change

This commit is contained in:
J-Jamet committed 2020-12-14 16:59:38 +01:00
1 parent baa9b88512
commit dc02a8d78c
1 file changed
+2 -1
@@ -558,7 +558,8 @@ class AdvancedUnlockFragment: StylishFragment(), AdvancedUnlockManager.AdvancedU
override fun onPause() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
if (!keepConnection) {
disconnect(false)
// If close prompt, bug "user not authenticated in Android R"
disconnect()
advancedUnlockManager = null
}
}