Fixed
Status Update
Comments
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Is there any way to use this while it's not available, without a big if else where we do everything duplicated? Like this example.
val notification = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
Notification.Builder(...)
.setContentTitle("Title")
.setStyle(...)
// Duplicate everything here!!!
.build()
} else {
NotificationCompat.Builder(...)
.setContentTitle("Title")
.setStyle(...)
// Duplicate everything here!!!
.build()
}
pa...@126.com <pa...@126.com> #3
Hi,
Could you at least tell us if you will add the CallStyle to the NotificationCompat API?
Best regards,
Description
We should replace all of our null checks with the "official"
Objects.requireNonNull
which throws the correct exception.