Commit 9cf52627 authored by xunchang's avatar xunchang Committed by Tianjie Xu
Browse files

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
parent d58a1211
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment