diff options
author | Rubin Xu <rubinxu@google.com> | 2017-08-28 11:47:35 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2017-09-05 14:49:00 +0100 |
commit | 7cf4509c31f3dc1c32f89c26867a50c4ed0d5618 (patch) | |
tree | 7a1c82cbd4ec85d720132398a399f25eb1544130 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 2dac2cce5a2f28ae368e7e6af6fb4e49ac22c5b4 (diff) |
Fix resetPasswordWithToken before user unlock
1. Fix system server crash when resetPasswordWithToken is called before use
unlock, due to DPMS enforces user is unlocked when calculating password
sufficiency.
2. Propogate new password metric from LockSettingsService to DPMS after a
password reset with token, and fix a bug where stale quality was used.
Bug: 64923343
Bug: 64928518
Bug: 65286643
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.ManagedProfileTest#testResetPasswordWithTokenBeforeUnlock
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken
Test: runtest frameworks-services -p com.android.server.locksettings
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminHostSideTestApi24#testRunDeviceOwnerPasswordTest
Test: runtest frameworks-core -c android.app.admin.PasswordMetricsTest
Test: runtest frameworks-services -c com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: Ibb3736547b3b36da4a8a67af711e08a38427aa56
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions