| commit | 08026b282c544f689d1747a1181e3410d2d635cb | [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 19:59:07 2020 +0000 |
| tree | 66ea26e47ccf185991a12bbac87ae31728118c0b | |
| parent | 73d9f5f6f9f9f79a844820487e9bac273c3990a4 [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)