Rollback to fix bug after orientation change

This commit is contained in:
J-Jamet
2020-12-14 16:59:38 +01:00
parent baa9b88512
commit dc02a8d78c

View File

@@ -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
}
}