commit | e8edf97843525647cda4b40d55b27f5efa632177 | [log] [tgz] |
---|---|---|
author | Robert Berry <robertberry@google.com> | Tue Mar 27 11:45:11 2018 +0100 |
committer | Robert Berry <robertberry@google.com> | Tue Mar 27 11:45:11 2018 +0100 |
tree | 2f94aa54f269ebba67e6c2f48ace97adf4efe46e | |
parent | af13eeb11050b27419a235737a30b5a3335fdbe0 [diff] |
Do not create snapshot on first init Currently the first time the RecoveryController is initialized, it sets a snapshot pending. This is because there is no cert, so it installs the cert, and the existing logic also sets snapshot pending. This fixes that. Bug: 74949975 Test: runtest frameworks-services -p \ com.android.server.locksettings.recoverablekeystore Change-Id: If150524c3fc41fd2ee9cc6310109b41d62dcbb29