commit | 0c410eb9666731c30f339d922d7ea723430dde32 | [log] [tgz] |
---|---|---|
author | Amit Mahajan <amitmahajan@google.com> | Wed Apr 07 11:44:38 2021 -0700 |
committer | Amit Mahajan <amitmahajan@google.com> | Wed Apr 07 11:47:55 2021 -0700 |
tree | e772080987ec21f03369c2eb131ea01ab7a7d6d2 | |
parent | de66d6cf3e163360e63a7636aff370e33461c4e7 [diff] |
Write build id to SharedPref only after APNs have been updated. Earlier SharedPref was updated first. So if there was a crash while adding APNs, they didn't get added after process restart because the SharedPref indicated that it had already been done. To fix that, the SharedPref should be updated only after APNs have been added successfully. Test: manual Bug: 173171704 Change-Id: Ibfd6ed98508d4d70406167baf3e56b7f1a919852