commit | 74860927b9cc2e847efe2097e244155f15796d6b | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Wed Apr 01 14:10:04 2020 -0700 |
committer | Patrick Baumann <patb@google.com> | Wed Apr 01 14:33:42 2020 -0700 |
tree | 862e4e938149a21aa60b12a275f1e34db4e246b6 | |
parent | 3dfc45e593326ae43407e8e6fb853ee5c6552228 [diff] |
Fixes NPE and adds @Nullable to PackageSetting.pkg This change addresses an NPE encountered when a package setting refers to an unavailable package and is thus null. It adds a @Nullable annotation to the field to hopefully catch more of this type of error going forward. Fixes: 153007501 Test: atest AppEnumerationTests PackageManagerTest Change-Id: I0ffe1f488d69d45893c96c755e48e19de43fcdf2