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

Commit b03bfe0a authored by Rubin Xu's avatar Rubin Xu Committed by Android (Google) Code Review
Browse files

Merge "Update active fingerprint group when switching profiles"

parents 88296d22 d37c824c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1142,6 +1142,12 @@ public class FingerprintService extends SystemService implements IBinder.DeathRe
                        mHandler.obtainMessage(MSG_USER_SWITCHING, newUserId, 0 /* unused */)
                                .sendToTarget();
                    }

                    @Override
                    public void onForegroundProfileSwitch(int newProfileId) throws RemoteException {
                        mHandler.obtainMessage(MSG_USER_SWITCHING, newProfileId, 0 /* unused */)
                        .sendToTarget();
                    }
                }, TAG);
        } catch (RemoteException e) {
            Slog.w(TAG, "Failed to listen for user switching event" ,e);