commit | 98491a4ef11f7a412e067f69b644c09227b2e419 | [log] [tgz] |
---|---|---|
author | Shen Lin <shhenlin@gmail.com> | Tue Oct 18 15:27:10 2022 +0800 |
committer | Shen Lin <shhenlin@gmail.com> | Thu Oct 20 14:57:43 2022 +0800 |
tree | b94679b7a976b646826a0ae985262e6e9d0527b3 | |
parent | 45b9e2d5b181f58e4605157c542d8411754de8ae [diff] |
Fix potential crash when calling update but query db failed This crash should not happen in normal case, but we can improve robustness of the code since ContentResolver.query() can possibly return null as its comment says Fixes: 254186235 Test: manual Change-Id: Ic4bb48b2f2048921681d7b3c45471c3b818f95b6