Ensure BitwardenAppComponentFactory is call correct super methods (#1338)

This commit is contained in:
David Perez 2024-05-03 14:22:28 -05:00 committed by Álison Fernandes
parent 652593ffb5
commit c9b92de420

View file

@ -26,9 +26,9 @@ class BitwardenAppComponentFactory : AppComponentFactory() {
intent: Intent?,
): Service = when (className) {
LEGACY_AUTOFILL_SERVICE_NAME -> {
super.instantiateService(cl, BitwardenAutofillService::class.java.name, intent)
super.instantiateServiceCompat(cl, BitwardenAutofillService::class.java.name, intent)
}
else -> super.instantiateService(cl, className, intent)
else -> super.instantiateServiceCompat(cl, className, intent)
}
}