OSDN Git Service

Defer deleteKey in KeyStorage in Checkpointing mode
authorDaniel Rosenberg <drosen@google.com>
Fri, 7 Jun 2019 03:38:38 +0000 (20:38 -0700)
committerDaniel Rosenberg <drosen@google.com>
Fri, 7 Jun 2019 03:42:55 +0000 (20:42 -0700)
commit8cc5716ef109b3e7b8926fdced0aef1bb96368d0
tree56ff6df8ba757f68164f8cb57f1649bc15c8457f
parent8f2ff80e873a78e2a21c0b301d92a377b5f01f54
Defer deleteKey in KeyStorage in Checkpointing mode

Don't delete keys in checkpointing mode. Instead wait until the
checkpoint has been committed.

Bug: 134631661
Test: Flash A with a working build. Flash B with a broken build. Test
      that the device rolls back to A without getting sent to recovery.

Change-Id: Ie5fc2d098355e2d095c53e9a95a6a8c7ab7ed051
KeyStorage.cpp