Fix autofill preference referencing hard-coded application id (#473)
This commit is contained in:
parent
094c6da53e
commit
2a921aec65
1 changed files with 3 additions and 1 deletions
|
@ -375,7 +375,9 @@ class UserPreference : AppCompatActivity() {
|
|||
.getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager
|
||||
val runningServices = am
|
||||
.getEnabledAccessibilityServiceList(AccessibilityServiceInfo.FEEDBACK_GENERIC)
|
||||
return runningServices.any { "com.zeapo.pwdstore/.autofill.AutofillService" == it.id }
|
||||
return runningServices
|
||||
.map { it.id.substringBefore("/") }
|
||||
.any { it == BuildConfig.APPLICATION_ID }
|
||||
}
|
||||
|
||||
override fun onActivityResult(
|
||||
|
|
Loading…
Reference in a new issue