diff options
author | Charles He <qiurui@google.com> | 2017-01-27 16:14:52 +0000 |
---|---|---|
committer | Charles He <qiurui@google.com> | 2017-02-07 01:02:51 +0000 |
commit | aae60473e198e81387c83efd439a8ab3ea7045f1 (patch) | |
tree | 350d5f67758dbb264de351bebf39c0b3f040ff66 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c01308a03c23a13cf98d5137a028cdb7298ef654 (diff) |
Fingerprint: get auth id for non-current user.
Previously, getAuthenticatorId() simply returns the authenticator id
corresponding to the currently active user in FingerprintService.
However, this can cause bugs when, for example, KeyStore calls the
method before storing a fingerprint-bound key for a non-current user. In
such cases, the authenticator id of the calling user is desired, which
is not necessarily the same as the "current user" in FingerprintService.
This CL ensures the FingerprintService always returns the authenticator
id of the calling user.
Bug: 33459191
Test: manual
Change-Id: Ia9d6b869d16bd37f45358ba839cd12901ebc1076
Merged-In: I35c5a3a7082cffb8941eeaa219c8e20948ad41a9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions