OSDN Git Service

Fix the misuse of calling user id as group id
authorTony Mak <tonymak@google.com>
Tue, 19 Apr 2016 19:44:12 +0000 (20:44 +0100)
committerThe Android Automerger <android-build@google.com>
Tue, 19 Apr 2016 20:03:40 +0000 (13:03 -0700)
commit29961a87f8432a8c30d8114330d6e4f1056363ab
tree4cac5ea1b8658007db9ffa174059303d2ee3f2ad
parent56e9fcd3ad016bcd95a29c9ced9c720e37a97ba7
Fix the misuse of calling user id as group id

1. The userId stored in different clients are actually calling user id.
groupId should be used to do all the operations. Also, renamed the variable
to avoid further confusion.

2. Fix the bug null is always returned in getFingerprintDaemon
   in RemovalClient.

3. Fix the misuse of calling uid as calling user id in startAuthentication.

Fix: 28268635
Fix: 28264725

Change-Id: I618ac3c6d913ae5c86e7b04cb3f9ead39828f216
services/core/java/com/android/server/fingerprint/AuthenticationClient.java
services/core/java/com/android/server/fingerprint/ClientMonitor.java
services/core/java/com/android/server/fingerprint/EnrollClient.java
services/core/java/com/android/server/fingerprint/EnumerateClient.java
services/core/java/com/android/server/fingerprint/FingerprintService.java
services/core/java/com/android/server/fingerprint/RemovalClient.java