Assigned
Status Update
Comments
su...@google.com <su...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
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.