diff options
author | Annie Meng <anniemeng@google.com> | 2018-05-21 16:34:52 +0100 |
---|---|---|
committer | Annie Meng <anniemeng@google.com> | 2018-05-21 16:42:23 +0100 |
commit | eed1b812a4ad38c6815f3066e41a95d7f5358838 (patch) | |
tree | 9293d35cc8e7e4b6a860ecdfd2174756284ad2ef /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 167b451daa1893ee9b15cb25bfba627a7254acd3 (diff) |
Check settings validators for NPE
From b/79910479, we need to have better checks on settings validators.
Catch NPE for various settings validators and add a @Nullable annotation
to try to prevent NPEs in new validators.
Bug: 80067772
Test: atest SettingsValidatorsTest
Change-Id: I9a5058e1bae1ba0dea084c0589aa3e4ef3a51836
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions