OSDN Git Service

Bind fingerprint when we start authentication
authorJim Miller <jaggies@google.com>
Tue, 9 Aug 2016 03:16:22 +0000 (20:16 -0700)
committerJim Miller <jaggies@google.com>
Tue, 9 Aug 2016 03:16:22 +0000 (20:16 -0700)
commit837fa7e56dc4e91feaf104bd09ef5e03065b1b86
tree960b41ee7cc1972ceabdc927674b527f4cdfda36
parent1b72661e451ec79fa0e39a70a5a07749616b62dd
Bind fingerprint when we start authentication

This fixes a bug where it was possible to authenticate the wrong user.
We now bind the userId when we start authentication and confirm it when
authentication completes.

Fixes bug 30744668

Change-Id: I346d92c301414ed81e11fa9c171584c7ae4341c2
core/java/android/hardware/fingerprint/FingerprintManager.java
core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
services/core/java/com/android/server/fingerprint/AuthenticationClient.java
services/core/java/com/android/server/fingerprint/FingerprintService.java