summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2020-04-27 11:20:42 +0100
committerGavin Corkery <gavincorkery@google.com>2020-04-29 17:26:29 +0100
commit9d1eeeebc58501ab9c057fbea1460c86127d7311 (patch)
tree83ab2294622c2666e9ad487bc5f15597e12fec2f /tools/aapt2/java/JavaClassGenerator.cpp
parent74b8acae263ed19004e059a696e0926f66ec974f (diff)
Attach logging package to staged rollback IDs
To ensure consistency in pre-reboot and post-reboot metrics, associate the logging package name of a rolled back train with the staged rollback id. This uses the assumption that there is at most one logging parent (train version package) associated with the rollback. This means that there will be only one ROLLBACK_SUCCESS or ROLLBACK_FAILURE log for each event. This change changes the format of the last-staged-rollback-ids file. The file now has one line for each rollback id, rather than one line containing all ids. Test: Manual test of logging flow for a train that is configured correctly, and configured incorrectly Test: atest RollbackUnitTest Bug: 154911735 Change-Id: Ie942fdb9313137c2dc6e696840262dd457558c6d Merged-In: Ie942fdb9313137c2dc6e696840262dd457558c6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions