diff options
author | Kenny Root <kroot@google.com> | 2020-03-03 11:00:24 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2020-03-03 21:31:55 +0000 |
commit | 1eb8ead904026376076cd1972493139fe8111824 (patch) | |
tree | 1560d012c01d014f3fab0ac115acb1c7ad9a07a9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e2ab8ed00e23b6a50e96a2e7a3db7a6eaed85a47 (diff) |
RebootEscrowManager: always report success metric
In the process of OTAing from a build that does not have the armed
status marker, all metrics are going to be lost. Since a success is
a sure indication that reboot escrow was prepared before reboot, then
we should mark it as a success always.
On the other side, a failure could be a manual reboot if we did not
have the armed marker.
(cherry picked from commit bdb3cdc49741b0eff3ebc138f1771baae17638c5)
Bug: 149833390
Test: atest RebootEscrowManagerTests
Merged-In: Iaa179039eb7f587a6596a70176d42761e09b0fac
Change-Id: Iaa179039eb7f587a6596a70176d42761e09b0fac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions