commit | 4ed98986ff33d8b0831951dd1f42cac2aae556ad | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Wed May 23 14:27:53 2018 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Wed May 23 14:28:48 2018 +0000 |
tree | 2e39e633a5666f30d7ec6d744483a000a6fb000b | |
parent | 1a3158691808c428de5949414d8ae41f8bf2a3b9 [diff] |
Handle managed profile with unified challenge in getHashFactor() Settings passes null into getHashFactor() when a profile user has unified challenge. In this case getHashFactor() needs to derive the real profile password before it can calculate the hash factor. Bug: 80077655 Test: runtest frameworks-services -c com.android.server.locksettings.SyntheticPasswordTests Change-Id: Ifa1d88818b58f914fd3560bb6ef44012facde87b