Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
As of version 1.1.1,
The constructor for
ComplicationSlotBounds
[1] requires that bounds are provided for eachComplicationType
(evenNO_DATA
,EMPTY
, andNOT_CONFIGURED
which I'm not entirely sure makes sense).Also, this will crash when new types are added in the library while user code is unaware.
Instead, I think only the
ComplicationSlot
'ssupportedTypes
should be required?[1]https://github.com/androidx/androidx/blob/androidx-main/wear/watchface/watchface-complications/src/main/java/androidx/wear/watchface/complications/ComplicationSlotBounds.kt#L110