summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Berry <robertberry@google.com>2018-03-26 11:36:40 +0100
committerRobert Berry <robertberry@google.com>2018-03-26 11:36:40 +0100
commit8f9038c0590cfb4d8a9ea36d8a898d64c4b73321 (patch)
tree78b7d9b190c089885d05f0d43a9e4057f5f69ce7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3ff20e2257c3d7158289ff3252e53cd5dfef85f4 (diff)
Fix setServerParams to not always set snapshot pending
Only updates should set snapshot pending. Setting the server params for the first time should not set snapshot pending. If it did, then just initializing the recovery agent would cause a snapshot to be made, even if it contained no keys. Also, setting the snapshot to the same value as it was previously should not set snapshot pending, for the exact same reason. If the server params were to change, however, for some reason, then a new snapshot must be made, so that it can be synced to the correct vault. Bug: 74949975 Test: runtest frameworks-services -p \ com.android.server.locksettings.recoverablekeystore Change-Id: Ie09284553f922de869be7bcd577d0f0eb9d0bbd3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions