diff options
author | Tobias Thierer <tobiast@google.com> | 2018-12-23 14:25:58 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2018-12-23 14:26:08 +0000 |
commit | 139911745dc4e5a1824f583838fd59a3f070b144 (patch) | |
tree | a81691404dfa92192ab901098a58e4801406bf6c /rs/java/android/renderscript/ProgramStore.java | |
parent | 0f1bf44c9954671ec18e8b2f0470ca93cc1d82a9 (diff) |
Fix @NonNull -> Nullable for Intent.replaceExtras().
extras == null is documented to result in all extras being
erased, and the implementation handles it correctly. The
@NonNull annotation on Bundle extras is therefore wrong.
This CL replaces it with the correct annotation, @Nullable.
The incorrect annotation was introduced in April 2017
(commit 30e06bb668f2e4b024c4ebc2a131de91c96de5eb). I've
looked through the other changes to Intent.java in that
commit but have found no further nullability annotation
errors.
Bug: 121438778
Test: Treehugger
Test: Looked through the other nullability annotations on
Intent.java introduced by the same commit
30e06bb668f2e4b024c4ebc2a131de91c96de5eb (Apr 2017)
but found no further errors.
Change-Id: Iebbe17abc5c97146533e82114fbaf1d7036fd03a
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions