commit | c28c530c4d01b82f3e804f12f3f99bdb9c1ed7a0 | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Wed Apr 01 14:10:04 2020 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Apr 02 20:00:06 2020 +0000 |
tree | 66ea26e47ccf185991a12bbac87ae31728118c0b | |
parent | 4324d50c70bc204b91fb1b3d673cdc412b81a7f8 [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 (cherry picked from commit 74860927b9cc2e847efe2097e244155f15796d6b)