Fixed
Status Update
Comments
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 106ec4de336e4d89a27658c6c6544385ec40fc8a
Author: Alan Viverette <alanv@google.com>
Date: Fri Apr 14 13:01:14 2023
Fix docs for PendingIntent.getBroadcast() and annotate as nullable
Fixes: 277630907
Test: docs only
Relnote: PendingIntent.getBroadcast() is now correctly marked @Nullable
Change-Id: Ifff965b38abb4fccc4709a52a5a71d6372a388a5
A core/core/api/current.ignore
M core/core/api/current.txt
M core/core/api/public_plus_experimental_current.txt
A core/core/api/restricted_current.ignore
M core/core/api/restricted_current.txt
M core/core/src/main/java/androidx/core/app/PendingIntentCompat.java
https://android-review.googlesource.com/2538154
Branch: androidx-main
commit 106ec4de336e4d89a27658c6c6544385ec40fc8a
Author: Alan Viverette <alanv@google.com>
Date: Fri Apr 14 13:01:14 2023
Fix docs for PendingIntent.getBroadcast() and annotate as nullable
Fixes: 277630907
Test: docs only
Relnote: PendingIntent.getBroadcast() is now correctly marked @Nullable
Change-Id: Ifff965b38abb4fccc4709a52a5a71d6372a388a5
A core/core/api/current.ignore
M core/core/api/current.txt
M core/core/api/public_plus_experimental_current.txt
A core/core/api/restricted_current.ignore
M core/core/api/restricted_current.txt
M core/core/src/main/java/androidx/core/app/PendingIntentCompat.java
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.core:core:1.11.0-alpha04
Description
Component used: Core Version used: 1.10.0
This is the source code in androidx.core:core-ktx:1.10.0:
It seems that its return value cannot be null because of the "@NonNull" annotation, but PendingIntent.getBroadcast "Returns an existing or new PendingIntent matching the given parameters. May return null only if FLAG_NO_CREATE has been supplied."