Fixing NPE in cacheEvent of BTSUma
Looks like on some devices it is possible that shared preference of type string set contains null. This patch adds code to sanitize such set (both when reading and writing) to make sure users of the read set cannot hit a null value. Bug: 1064881 Change-Id: I7cc833c3f9e1eb104783341892b23808593a557a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2122465Reviewed-by:Tommy Nyquist <nyquist@chromium.org> Commit-Queue: Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#753764}
Showing
Please register or sign in to comment