mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Revert "Revert "fix: Remove Lock in Autofill""
This reverts commit b44491ebbe.
This commit is contained in:
@@ -45,7 +45,6 @@ import com.kunzisoft.keepass.settings.AutofillSettingsActivity
|
||||
import com.kunzisoft.keepass.settings.PreferencesUtil
|
||||
import com.kunzisoft.keepass.utils.WebDomain
|
||||
import org.joda.time.DateTime
|
||||
import java.util.concurrent.atomic.AtomicBoolean
|
||||
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.O)
|
||||
@@ -57,7 +56,6 @@ class KeeAutofillService : AutofillService() {
|
||||
private var webDomainBlocklist: Set<String>? = null
|
||||
private var askToSaveData: Boolean = false
|
||||
private var autofillInlineSuggestionsEnabled: Boolean = false
|
||||
private var mLock = AtomicBoolean()
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
@@ -96,9 +94,6 @@ class KeeAutofillService : AutofillService() {
|
||||
Log.d(TAG, "Autofill requested in native mode")
|
||||
}
|
||||
|
||||
// Lock
|
||||
if (!mLock.get()) {
|
||||
mLock.set(true)
|
||||
// Check user's settings for authenticating Responses and Datasets.
|
||||
val latestStructure = request.fillContexts.last().structure
|
||||
StructureParser(latestStructure).parse()?.let { parseResult ->
|
||||
@@ -128,7 +123,6 @@ class KeeAutofillService : AutofillService() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchSelection(database: ContextualDatabase?,
|
||||
searchInfo: SearchInfo,
|
||||
@@ -414,7 +408,6 @@ class KeeAutofillService : AutofillService() {
|
||||
}
|
||||
|
||||
override fun onDisconnected() {
|
||||
mLock.set(false)
|
||||
Log.d(TAG, "onDisconnected")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user