commit | eb627be0b4cceddcd43d8e1509f393827f32affa | [log] [tgz] |
---|---|---|
author | Shen Lin <shhenlin@gmail.com> | Thu Sep 15 10:05:19 2022 +0800 |
committer | Shen Lin <shhenlin@gmail.com> | Thu Sep 15 14:23:38 2022 +0800 |
tree | 081b3c50a6f6c0320a27f310393bb9e75fd5bc7f | |
parent | 8b0e08eceedb8d4c6021359375fe7209793faaf7 [diff] |
Mark DataUsageState as nullable to avoid potential NPE risk mDataUsageState is nullable in UnrestrictedDataAccessPreference.java, so we'd better add a annotation to getDataUsageState(), and add a null-check before calling it. Bug: 246828843 Test: manual and Robotest. Change-Id: If7fea53ec7efd004391a09becdba5709ae686f40