Fixed
Status Update
Comments
il...@google.com <il...@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()
}
ap...@google.com <ap...@google.com> #3
Hi,
Could you at least tell us if you will add the CallStyle to the NotificationCompat API?
Best regards,
ap...@google.com <ap...@google.com> #4
Yes. Our goal is to provide an implementation that uses CallStyle on API 31+ and uses the new fields to produce a usable call notification, based on the device's standard template, on older versions of Android.
il...@google.com <il...@google.com> #5
Thanks for the answer. Do you have an estimated ETA?
Description
AndroidX has increased the global
minSdk
to 19, which means the Fragment library can useandroid.os.CancellationSignal
instead ofandroidx.core.os.CancellationSignal
.This might be difficult, though, because there is an internal API surface shared between Fragment and Transition library that uses the compat class.