OSDN Git Service

Add columns for snapshot table
authorRobert Berry <robertberry@google.com>
Mon, 26 Feb 2018 15:30:58 +0000 (15:30 +0000)
committerRobert Berry <robertberry@google.com>
Mon, 26 Feb 2018 19:53:46 +0000 (19:53 +0000)
commit5dd87d8827fcfa22ee7a1973c8e73d7354752cf7
tree91f6c67afb7bbef621fa9e5ead1ae1456ccca22e
parent17bc6993c7bc29b5676cd61ad8daddb713c5c6f4
Add columns for snapshot table

Currently snapshots are held in memory, meaning they must be regenerated
if a reboot occurs before a key sync. Also, when debugging, it is
difficult to know what version of e.g. the server params was associated
with a particular snapshot, as this can be mutated after the snapshot is
generated. This change adds the required columns to the DB contract for
storing snapshots. In subsequent CLs the update SQL will be added.

Test: none, no functionality added
Change-Id: Ica866b06950a5801e8a2c3641e79706bbbf48384
services/core/java/com/android/server/locksettings/recoverablekeystore/storage/RecoverableKeyStoreDbContract.java