Fixed
Status Update
Comments
jl...@google.com <jl...@google.com>
di...@google.com <di...@google.com>
ju...@google.com <ju...@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()
}
Description
Phone, Tablet and Desktop all have a display density of 420 dpi. Foldable has a 480 dpi, which neither matches the other reference devices nor the device density of real foldable devices (i.e. the ZFold3/4 have a set density of 420 dpi by default).
We should change this to be consistent and more indicative of a real device.