diff options
author | Kevin Han <kevhan@google.com> | 2021-04-21 13:00:31 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-04-21 13:00:31 -0700 |
commit | 2e1192c4eb46a16f1708cbf6c8a23d9d5150ce82 (patch) | |
tree | 9301672e0fde3602544b42c470a155bc860c850b /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d560996d0fc45d685f89d0e9deb0fd84f13c7509 (diff) |
Add null pointer check to getStopped
PackageSetting is not guaranteed to be non-null which caused test
failures. This adds a null check.
Bug: 184936704
Test: presubmit
Change-Id: Ie58ffa0d9abde5417e4db48389e526eaf43e0cf6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions