Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb235b23 authored by Ned Burns's avatar Ned Burns
Browse files

Mark BiometricUnlockController as @Singleton

We were creating more than one, which was causing NPEs.

Test: atest
Bug: 143258869
Change-Id: I500fdb62a53ab95a532777a667933c93a140b91b
parent 90a6a456
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -47,10 +47,12 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import javax.inject.Inject;
import javax.inject.Singleton;

/**
 * Controller which coordinates all the biometric unlocking actions with the UI.
 */
@Singleton
public class BiometricUnlockController extends KeyguardUpdateMonitorCallback {

    private static final String TAG = "BiometricUnlockCtrl";