mirror of
https://github.com/bitwarden/android.git
synced 2024-11-25 10:56:03 +03:00
Update AppComponentFactory (#1336)
This commit is contained in:
parent
3fb66fdb7e
commit
7920d2104f
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
<application
|
||||
android:name=".BitwardenApplication"
|
||||
android:allowBackup="false"
|
||||
android:appComponentFactory=".BitwardenAppComponentFactory"
|
||||
android:appComponentFactory="com.x8bit.bitwarden.BitwardenAppComponentFactory"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
|
|
|
@ -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?,
|
||||
|
|
Loading…
Reference in a new issue