diff options
author | Patrick Baumann <patb@google.com> | 2020-04-01 14:10:04 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-04-02 20:00:06 +0000 |
commit | c28c530c4d01b82f3e804f12f3f99bdb9c1ed7a0 (patch) | |
tree | 66ea26e47ccf185991a12bbac87ae31728118c0b /rs/java/android/renderscript/ProgramStore.java | |
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)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions