mirror of
https://github.com/bitwarden/android.git
synced 2026-05-02 13:18:47 -05:00
Update AppComponentFactory (#1336)
This commit is contained in:
committed by
Álison Fernandes
parent
3fb66fdb7e
commit
7920d2104f
@@ -1,8 +1,8 @@
|
||||
package com.x8bit.bitwarden
|
||||
|
||||
import android.app.AppComponentFactory
|
||||
import android.app.Service
|
||||
import android.content.Intent
|
||||
import androidx.core.app.AppComponentFactory
|
||||
import com.x8bit.bitwarden.data.autofill.BitwardenAutofillService
|
||||
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
||||
|
||||
@@ -20,7 +20,7 @@ class BitwardenAppComponentFactory : AppComponentFactory() {
|
||||
* service is created. This is required because the [className] used in the manifest must match
|
||||
* the legacy Xamarin app service name but the service name in this app is different.
|
||||
*/
|
||||
override fun instantiateService(
|
||||
override fun instantiateServiceCompat(
|
||||
cl: ClassLoader,
|
||||
className: String,
|
||||
intent: Intent?,
|
||||
|
||||
Reference in New Issue
Block a user