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

Commit a2f8ee47 authored by Kevin Chyn's avatar Kevin Chyn Committed by Android (Google) Code Review
Browse files

Merge "Check INTERACT_ACROSS_USERS for getEnrolledTemplates when user is different" into qt-dev

parents 7d56862c 8addd4f6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -855,6 +855,9 @@ public class FingerprintService extends BiometricServiceBase {

    @Override
    protected List<Fingerprint> getEnrolledTemplates(int userId) {
        if (userId != UserHandle.getCallingUserId()) {
            checkPermission(INTERACT_ACROSS_USERS);
        }
        return getBiometricUtils().getBiometricsForUser(getContext(), userId);
    }