commit | 3b12be137d1686c45cdd084a714df2f81ebba9b0 | [log] [tgz] |
---|---|---|
author | Shen Lin <shhenlin@gmail.com> | Mon Oct 17 09:43:24 2022 +0800 |
committer | Shen Lin <shhenlin@gmail.com> | Mon Oct 17 09:43:24 2022 +0800 |
tree | c3fcbbaa70e40b20b926ce1bca60f955247c971c | |
parent | d01036ee5893357db577c961119fb85825247f03 [diff] |
Fix potential NPE when preference is null findPreference is a nullable method so we need a null-check before calling its method. Bug: 253904634 Test: atest Change-Id: I497ba76a61b19bab9602849f1aef725829193ff2