From 3c2a83fa8154d5fcd9369c00d22ae77f9e6bdcf7 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 19 Jun 2025 11:40:48 +0200 Subject: [PATCH] Remove injectable from background-browser-biometrics (#15209) Injectable is for angular, this only runs in the background. --- .../biometrics/background-browser-biometrics.service.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/browser/src/key-management/biometrics/background-browser-biometrics.service.ts b/apps/browser/src/key-management/biometrics/background-browser-biometrics.service.ts index a31a0b311db..677f58dee11 100644 --- a/apps/browser/src/key-management/biometrics/background-browser-biometrics.service.ts +++ b/apps/browser/src/key-management/biometrics/background-browser-biometrics.service.ts @@ -1,7 +1,3 @@ -// FIXME (PM-22628): angular imports are forbidden in background -// eslint-disable-next-line no-restricted-imports -import { Injectable } from "@angular/core"; - import { VaultTimeoutSettingsService } from "@bitwarden/common/key-management/vault-timeout"; import { LogService } from "@bitwarden/common/platform/abstractions/log.service"; import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service"; @@ -20,7 +16,6 @@ import { import { NativeMessagingBackground } from "../../background/nativeMessaging.background"; import { BrowserApi } from "../../platform/browser/browser-api"; -@Injectable() export class BackgroundBrowserBiometricsService extends BiometricsService { constructor( private nativeMessagingBackground: () => NativeMessagingBackground,