Assigned
Status Update
Comments
su...@google.com <su...@google.com>
ap...@google.com <ap...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
No update yet.
Hi. Thanks for reporting this. Fixed in alpha-04
Description
Component used:
Version used:
Devices/Android versions reproduced on:
Bug
Using SliceViewManager.SliceCallback fails at runtime as the return type maybe null (Kotlin runtime null-check is failing!).
Reason
The callback interface SliceViewManager.SliceCallback is defined as SliceProvider.onBindSlice is defined with @Nullable annotation[2]:
SliceCallback.onSliceUpdated(@NonNull Slice s)
. That does not match asWhat is true? I think it should be nullable on both sides.
Regards
Benjamin E.