Ensure BitwardenAppComponentFactory is call correct super methods (#1338)

This commit is contained in:
David Perez
2024-06-20 17:08:07 +01:00
committed by Álison Fernandes
parent 652593ffb5
commit c9b92de420
@@ -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)
}
}