DescriptionRemove null entries from UMA stats SharedPrefs
DownloadUmaStatsEntry.parseFromString() could potentially return null.
And that null is added to the list in DownloadManagerService.
This could potentially cause a crash.
This CL avoids adding null to the list, and also fixes an error in parsing the string.
BUG=704220
Review-Url: https://codereview.chromium.org/2767143006
Cr-Commit-Position: refs/heads/master@{#460026}
Committed: https://chromium.googlesource.com/chromium/src/+/05a0df9c9908ceabcf5febca6daecb87dd1ae5f0
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|