diff options
author | xunchang <xunchang@google.com> | 2019-01-25 11:04:58 -0800 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2019-02-20 23:29:25 +0000 |
commit | 9cf526274905ff47ff26eab088c803916e7112d3 (patch) | |
tree | ae1f467608255d4baabee8a67f38ad2be4bc468c /scripts/update_payload/format_utils.py | |
parent | d58a12117777fd32b5d953ab40f24491e2d5cb83 (diff) |
Metrics: PayloadAttemptNumber should persist across attempts
We should only reset the PayloadAttemptNumber if the update succeeds, or
we switch to a different payload. The old code has already checked for
the payload id; and we should only delete this pref upon successful
updates.
Bug: 122841006
Test: unit tests pass
Change-Id: I7743b721d2899ba59375f8465468cc0e2a9b3568
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions