commit | 3462c832d1acccca3cdd541dea86442eb81536ab | [log] [tgz] |
---|---|---|
author | Bo Zhu <bozhu@google.com> | Thu Jan 04 22:42:36 2018 -0800 |
committer | Bo Zhu <bozhu@google.com> | Fri Jan 05 13:09:52 2018 -0800 |
tree | 81092b8abcabeb0f0aafef96d253b0888f5802b4 | |
parent | 25e3210eaf792c81308fe228a91527adc5ad9eed [diff] |
Refactor PlatformKeyManger to remove mUserId to fix two tests that fail on clean devices without secure screenlocks The mUserId is removed to allow a mocked PlatformKeyManager to be passed into RecoverableKeyStoreManager for tests. Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I9b1fda3c7d869b683cd71cb81ea88da5d995ace9