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

Commit 07e29ad1 authored by Charles He's avatar Charles He Committed by Android (Google) Code Review
Browse files

Merge "Fingerprint: check current user or profile properly"

parents 7f9f8647 a36525ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ public class FingerprintService extends SystemService implements IHwBinder.Death
        UserManager um = UserManager.get(mContext);

        // Allow current user or profiles of the current user...
        for (int profileId : um.getEnabledProfileIds(userId)) {
        for (int profileId : um.getEnabledProfileIds(mCurrentUserId)) {
            if (profileId == userId) {
                return true;
            }