diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt index 2f36c9655..afac816a0 100644 --- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt +++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt @@ -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(